Multiple rubyspec failures for defined? in compile mode *only*
--------------------------------------------------------------

                 Key: JRUBY-4656
                 URL: http://jira.codehaus.org/browse/JRUBY-4656
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
            Reporter: Vladimir Sizikov
            Assignee: Thomas E Enebo


This is one of those rare cases where the failures are only in compile mode 
(-X+C):

{noformat}
mspec ci -t j -T -X+C language/defined_spec.rb
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-13 ad00257) (Java 
HotSpot(TM) Client VM 1.6.0_18) [x86-java]
...........................F.................FF...FFF...FF.............F.FF..F.FF..................................................................................................................

1)
The defined? keyword for an expression returns 'assignment' for assigning an 
instance variable FAILED
Expected "expression"
 to equal "assignment"

D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:159
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

2)
The defined? keyword for an expression returns nil for an expression with != 
and an undefined method FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:235
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

3)
The defined? keyword for an expression returns nil for an expression with !~ 
and an undefined method FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:239
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

4)
The defined? keyword for an expression returns nil for an expression with 'not' 
and an undefined method FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:272
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

5)
The defined? keyword for an expression returns nil for an expression with 'not' 
and an unset class variable FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:276
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

6)
The defined? keyword for an expression does not propagate an exception raised 
by a method in a 'not' expression FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:280
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

7)
The defined? keyword for an expression returns nil for an expression with '!' 
and an undefined method FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:319
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

8)
The defined? keyword for an expression returns nil for an expression with '!' 
and an unset class variable FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:323
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

9)
The defined? keyword for an expression with a dynamic String returns nil when 
the String contains a call to an undefined method FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:361
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

10)
The defined? keyword for an expression with a dynamic String returns nil if any 
of the interpolated method calls are undefined FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:370
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

11)
The defined? keyword for an expression with a dynamic String returns nil and 
stops processing if any of the interpolated method calls are undefined FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:375
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

12)
The defined? keyword for an expression with a dynamic Regexp returns nil when 
the Regexp contains a call to an undefined method FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:403
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

13)
The defined? keyword for an expression with a dynamic Regexp returns nil if any 
of the interpolated method calls are undefined FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:412
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

14)
The defined? keyword for an expression with a dynamic Regexp returns nil and 
stops processing if any of the interpolated method calls are undefined FAILED
Expected "expression" to be nil
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:417
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:149
D:/work/jruby-dev/rubyspec.git/language/defined_spec.rb:56:in `load'
D:/work/jruby-dev/mspec.git/bin/mspec-ci:8

Finished in 0.542000 seconds

1 file, 195 examples, 245 expectations, 14 failures, 0 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