Rubyspecs failures for Array#pack with 'ils' patterns
-----------------------------------------------------

                 Key: JRUBY-1959
                 URL: http://jira.codehaus.org/browse/JRUBY-1959
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1RC1
         Environment: Latest JRuby 1.1RC1 from trunk.
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov


The following rubyspecs fail:

bin/ci -t j  spec/ruby/1.8/core/array/pack_spec.rb
1)
Array#pack raises a RangeError when the positive integer is too big with ('i') 
FAILED
Expected RangeError but no exception was raised:
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:6:in `should'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:340
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:340:in `call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `each'
./mspec/runner/runner.rb:130:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44

2)
Array#pack raises a RangeError when the negative integer is too big with ('l') 
FAILED
Expected RangeError but no exception was raised:
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:6:in `should'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:355
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:355:in `call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `each'
./mspec/runner/runner.rb:130:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44

3)
Array#pack raises a RangeError when the positive integer is too big with ('l') 
FAILED
Expected RangeError but no exception was raised:
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:6:in `should'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:371
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:371:in `call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `each'
./mspec/runner/runner.rb:130:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44

4)
Array#pack raises a RangeError when the negative integer is too big with ('l') 
FAILED
Expected RangeError but no exception was raised:
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:6:in `should'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:386
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:386:in `call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `each'
./mspec/runner/runner.rb:130:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44

5)
Array#pack raises a RangeError when the positive integer is too big with ('s') 
FAILED
Expected RangeError but no exception was raised:
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:6:in `should'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:529
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:529:in `call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `each'
./mspec/runner/runner.rb:130:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44

6)
Array#pack raises a RangeError when the negative integer is too big with ('s') 
FAILED
Expected RangeError but no exception was raised:
./mspec/expectations.rb:10:in `fail_with'
./mspec/expectations/should.rb:6:in `should'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:544
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:544:in `call'
./mspec/runner/runner.rb:136:in `describe'
./mspec/runner/runner.rb:135:in `each'
./mspec/runner/runner.rb:130:in `describe'
./mspec/runner/runner.rb:135:in `describe'
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4
/opt/work/rubinius/./spec/ruby/1.8/core/array/pack_spec.rb:4:in `load'
tmp/last_ci.rb:52
tmp/last_ci.rb:44:in `each'
tmp/last_ci.rb:44

Finished in 0.340000 seconds

138 examples, 334 expectations, 6 failures, 0 errors

Fix is coming.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to