dumping ground for random patches and texts
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: spew@80x24.org
Subject: rubyspec failures
Date: Sat, 8 Apr 2017 23:19:30 +0000	[thread overview]
Message-ID: <20170408231930.GA11999@starla> (raw)
In-Reply-To: <20170408231647.8664-1-e@80x24.org>

./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems -r./x86_64-linux-fake ./spec/mspec/bin/mspec run -B ./spec/default.mspec 
$ DIR/miniruby -IDIR/lib -IDIR -IDIR/.ext/common DIR/tool/runruby.rb --archdir=DIR --extout=.ext -- DIR/spec/mspec/bin/mspec-run -B ./spec/default.mspec
ruby 2.5.0dev (2017-01-11 rtl 57306) [x86_64-linux]
..........................F.......F.......................................F...F......FF..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.........................................................................................................................................................................................................................................................................................................................................E.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

1)
Break inside a while loop with a value exits the loop and returns the value FAILED
Expected nil
 to equal 1

DIR/spec/rubyspec/language/break_spec.rb:173:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/language/break_spec.rb:168:in `<top (required)>'

2)
Break inside a while loop with a splat exits the loop and makes the splat an Array FAILED
Expected nil
 to equal [1, 2]

DIR/spec/rubyspec/language/break_spec.rb:186:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/language/break_spec.rb:168:in `<top (required)>'

3)
Break inside a while loop with a splat treats nil as an empty array FAILED
Expected nil
 to equal []

DIR/spec/rubyspec/language/break_spec.rb:190:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/language/break_spec.rb:168:in `<top (required)>'

4)
Break inside a while loop with a splat preserves an array as is FAILED
Expected nil
 to equal []

DIR/spec/rubyspec/language/break_spec.rb:194:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/language/break_spec.rb:168:in `<top (required)>'

5)
Break inside a while loop with a splat wraps a non-Array in an Array FAILED
Expected nil
 to equal [1]

DIR/spec/rubyspec/language/break_spec.rb:201:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/language/break_spec.rb:168:in `<top (required)>'

6)
The value of an ensure expression, in no-exception scenarios, is the value of the last statement of the protected body FAILED
Expected 2
 to equal 1

DIR/spec/rubyspec/language/ensure_spec.rb:85:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/ensure_spec.rb:77:in `<top (required)>'

7)
Safe navigator allows assignment methods FAILED
Expected 3
 to equal nil

DIR/spec/rubyspec/language/safe_navigator_spec.rb:64:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/language/safe_navigator_spec.rb:4:in `block in <top (required)>'
DIR/spec/rubyspec/language/safe_navigator_spec.rb:3:in `<top (required)>'

8)
Safe navigator allows assignment operators FAILED
Expected 3
 to equal nil

DIR/spec/rubyspec/language/safe_navigator_spec.rb:82:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/language/safe_navigator_spec.rb:4:in `block in <top (required)>'
DIR/spec/rubyspec/language/safe_navigator_spec.rb:3:in `<top (required)>'

9)
The super keyword when using keyword arguments when using splat arguments passes splat arguments and keyword arguments to the parent FAILED
Expected [["bar"], {}]
 to equal [["bar"], {:baz=>true}]

DIR/spec/rubyspec/language/super_spec.rb:278:in `block (4 levels) in <top (required)>'
DIR/spec/rubyspec/language/super_spec.rb:4:in `<top (required)>'

10)
The while expression stops running body if interrupted by break in a parenthesized element op-assign-or value FAILED
Expected false to be nil
DIR/spec/rubyspec/language/while_spec.rb:85:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

11)
The while expression stops running body if interrupted by break in a begin ... end element op-assign-or value FAILED
Expected false to be nil
DIR/spec/rubyspec/language/while_spec.rb:97:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

12)
The while expression stops running body if interrupted by break in a parenthesized element op-assign value FAILED
Expected [1, 2] to be nil
DIR/spec/rubyspec/language/while_spec.rb:108:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

13)
The while expression stops running body if interrupted by break in a begin ... end element op-assign value FAILED
Expected [1, 2] to be nil
DIR/spec/rubyspec/language/while_spec.rb:121:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

14)
The while expression stops running body if interrupted by break in a parenthesized attribute op-assign-or value FAILED
Expected false to be nil
DIR/spec/rubyspec/language/while_spec.rb:136:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

15)
The while expression stops running body if interrupted by break in a begin ... end attribute op-assign-or value FAILED
Expected false to be nil
DIR/spec/rubyspec/language/while_spec.rb:151:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

16)
The while expression stops running body if interrupted by break in a parenthesized attribute op-assign-or value FAILED
Expected #<MockProxy:0x0055d294a856a8 @multiple_returns=nil, @returning=nil, @raising=nil, @yielding=[], @arguments=:any_args, @type=:mock, @count=[:exactly, 0]>
to be nil
DIR/spec/rubyspec/language/while_spec.rb:165:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

17)
The while expression stops running body if interrupted by break in a begin ... end attribute op-assign-or value FAILED
Expected #<MockProxy:0x0055d294a76270 @multiple_returns=nil, @returning=nil, @raising=nil, @yielding=[], @arguments=:any_args, @type=:mock, @count=[:exactly, 0]>
to be nil
DIR/spec/rubyspec/language/while_spec.rb:180:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/language/while_spec.rb:12:in `<top (required)>'

18)
The yield call taking a single argument yielding to a lambda should not destructure an Array into multiple arguments FAILED
Expected ArgumentError but no exception was raised ([1, 2] was returned)
DIR/spec/rubyspec/language/yield_spec.rb:74:in `block (5 levels) in <top (required)>'
DIR/spec/rubyspec/language/yield_spec.rb:9:in `<top (required)>'

19)
Kernel#warn writes an array in a line FAILED
Expected:
  $stderr: /line 1.*line 2/
      got:
  $stderr: "line 1\nline 2\n"

DIR/spec/rubyspec/core/kernel/warn_spec.rb:69:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/core/kernel/warn_spec.rb:4:in `<top (required)>'

20)
Random.urandom returns a String ERROR
NoMethodError: undefined method `urandom' for Random:Class
DIR/spec/rubyspec/core/random/shared/urandom.rb:3:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:6:in `block in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:5:in `<top (required)>'

21)
Random.urandom returns a String of the length given as argument ERROR
NoMethodError: undefined method `urandom' for Random:Class
DIR/spec/rubyspec/core/random/shared/urandom.rb:7:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:6:in `block in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:5:in `<top (required)>'

22)
Random.urandom raises an ArgumentError on a negative size ERROR
NoMethodError: undefined method `urandom' for Random:Class
DIR/spec/rubyspec/core/random/shared/urandom.rb:12:in `block (3 levels) in <top (required)>'
DIR/spec/rubyspec/core/random/shared/urandom.rb:11:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:6:in `block in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:5:in `<top (required)>'

23)
Random.urandom returns an ASCII-8BIT String ERROR
NoMethodError: undefined method `urandom' for Random:Class
DIR/spec/rubyspec/core/random/shared/urandom.rb:17:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:6:in `block in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:5:in `<top (required)>'

24)
Random.urandom returns a random binary String ERROR
NoMethodError: undefined method `urandom' for Random:Class
DIR/spec/rubyspec/core/random/shared/urandom.rb:21:in `block (2 levels) in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:6:in `block in <top (required)>'
DIR/spec/rubyspec/core/random/raw_seed_spec.rb:5:in `<top (required)>'

Finished in 158.652248 seconds

3568 files, 25711 examples, 196533 expectations, 19 failures, 5 errors, 0 tagged
uncommon.mk:665: recipe for target 'test-rubyspec' failed
make: *** [test-rubyspec] Error 1

      reply	other threads:[~2017-04-08 23:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-08 23:16 [PATCH] vm_core.h (rb_control_frame_t): remove "restrict" keyword Eric Wong
2017-04-08 23:19 ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170408231930.GA11999@starla \
    --to=e@80x24.org \
    --cc=spew@80x24.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).