GC rubyspec failures
--------------------

                 Key: JRUBY-4258
                 URL: http://jira.codehaus.org/browse/JRUBY-4258
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Ruby 1.8.7, RubySpec
    Affects Versions: JRuby 1.4
         Environment: Latest jruby from master
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov
             Fix For: JRuby 1.5


I've added GC rubyspecs, and now JRuby fails them. Will fix.

{noformat}
D:\work\jruby-dev\rubyspec.git>mspec -t j core/gc
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-11-22 d007d54) (Java 
HotSpot(TM) Client VM 1.6.0_17) [x86-java]
...F...F........EEE

1)
GC.disable returns true iff the garbage collection was previously disabled 
FAILED
Expected nil
 to equal false

D:/work/jruby-dev/rubyspec.git/core/gc/disable_spec.rb:21
D:/work/jruby-dev/rubyspec.git/core/gc/disable_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/disable_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

2)
GC.enable returns true iff the garbage collection was already disabled FAILED
Expected nil
 to equal false

D:/work/jruby-dev/rubyspec.git/core/gc/enable_spec.rb:18
D:/work/jruby-dev/rubyspec.git/core/gc/enable_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/enable_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

3)
GC.stress returns current status of GC stress mode ERROR
NoMethodError: undefined method `stress' for GC:Module
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:10
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:4
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

4)
An exception occurred during: after :each
GC.stress returns current status of GC stress mode ERROR
NoMethodError: undefined method `stress=' for GC:Module
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:7
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:4
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

5)
GC.stress= can be invoked without any exceptions FAILED
Expected to not get Exception
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:23
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:18
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

6)
An exception occurred during: after :each
GC.stress= can be invoked without any exceptions ERROR
NoMethodError: undefined method `stress=' for GC:Module
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:20
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:18
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

7)
GC.stress= returns a proper boolean result ERROR
NoMethodError: undefined method `stress=' for GC:Module
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:27
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:18
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

8)
An exception occurred during: after :each
GC.stress= returns a proper boolean result ERROR
NoMethodError: undefined method `stress=' for GC:Module
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:20
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:18
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:3
D:/work/jruby-dev/rubyspec.git/core/gc/stress_spec.rb:55:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-run:8

Finished in 0.085000 seconds

5 files, 19 examples, 19 expectations, 3 failures, 5 errors
{noformat}


-- 
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