Failures in core\module\autoload_spec.rb

I am getting these failures when I run irtests.bat, but now if I run
“mspec core\module\autoload”. Has anyone ever run into this?

Module#autoload uses dup copies for autoloaded constants FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:inshould’
autoload_spec.rb:172
bug.rb:15:in ruby_bug' autoload_spec.rb:160 classes.rb:320:inprotect_loaded_features’
autoload_spec.rb:159
:0:in instance_eval' mspec.rb:64:inprotect’
context.rb:131:in protect' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:inb__0’

:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:inEach’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:inall?’
context.rb:129:in protect' context.rb:151:inprocess’
:0:in each' context.rb:143:inprocess’
mspec.rb:28:in describe' object.rb:10:indescribe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:infiles’
:0:in instance_eval' mspec.rb:64:inprotect’
mspec.rb:48:in files' :0:ineach’
mspec.rb:44:in files' mspec.rb:38:inprocess’
mspec-ci.rb:58:in run' script.rb:189:inmain’
mspec-ci:0

Module#autoload autoloaded constants are removed on the first access
FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:inshould’
autoload_spec.rb:180
classes.rb:320:in protect_loaded_features' autoload_spec.rb:179 :0:ininstance_eval’
mspec.rb:64:in protect' context.rb:131:inprotect’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in
`b__0’

:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:inEach’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:inall?’
context.rb:129:in protect' context.rb:151:inprocess’
:0:in each' context.rb:143:inprocess’
mspec.rb:28:in describe' object.rb:10:indescribe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:infiles’
:0:in instance_eval' mspec.rb:64:inprotect’
mspec.rb:48:in files' :0:ineach’
mspec.rb:44:in files' mspec.rb:38:inprocess’
mspec-ci.rb:58:in run' script.rb:189:inmain’
mspec-ci:0

Thanks,
Shri

I don’t recall ever running into this, but I’m fixing some autoload
issues right now, so I’ll take a look.

From: [email protected]
[mailto:[email protected]] On Behalf Of Shri B.
Sent: Friday, April 17, 2009 3:54 PM
To: [email protected]
Subject: [Ironruby-core] Failures in core\module\autoload_spec.rb

I am getting these failures when I run irtests.bat, but now if I run
“mspec core\module\autoload”. Has anyone ever run into this?

Module#autoload uses dup copies for autoloaded constants FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:in should’
autoload_spec.rb:172
bug.rb:15:in ruby_bug' autoload_spec.rb:160 classes.rb:320:in protect_loaded_features’
autoload_spec.rb:159
:0:in instance_eval' mspec.rb:64:in protect’
context.rb:131:in protect' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in b__0’

:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in Each’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:in all?’
context.rb:129:in protect' context.rb:151:in process’
:0:in each' context.rb:143:in process’
mspec.rb:28:in describe' object.rb:10:in describe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:in files’
:0:in instance_eval' mspec.rb:64:in protect’
mspec.rb:48:in files' :0:in each’
mspec.rb:44:in files' mspec.rb:38:in process’
mspec-ci.rb:58:in run' script.rb:189:in main’
mspec-ci:0

Module#autoload autoloaded constants are removed on the first access
FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:in should’
autoload_spec.rb:180
classes.rb:320:in protect_loaded_features' autoload_spec.rb:179 :0:in instance_eval’
mspec.rb:64:in protect' context.rb:131:in protect’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in
`b__0’

:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in Each’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:in all?’
context.rb:129:in protect' context.rb:151:in process’
:0:in each' context.rb:143:in process’
mspec.rb:28:in describe' object.rb:10:in describe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:in files’
:0:in instance_eval' mspec.rb:64:in protect’
mspec.rb:48:in files' :0:in each’
mspec.rb:44:in files' mspec.rb:38:in process’
mspec-ci.rb:58:in run' script.rb:189:in main’
mspec-ci:0

Thanks,
Shri

Seems to be OK for me, let me know if you still have issues.

c:\dev\ironruby>mspec core/module/autoload
IronRuby 0.3 0.3.0.0 on .NET 2.0.0.0

Finished in 2.361236 seconds

1 file, 16 examples, 30 expectations, 0 failures, 0 errors

From: [email protected]
[mailto:[email protected]] On Behalf Of Jimmy
Schementi
Sent: Friday, April 17, 2009 4:13 PM
To: [email protected]
Subject: Re: [Ironruby-core] Failures in core\module\autoload_spec.rb

I don’t recall ever running into this, but I’m fixing some autoload
issues right now, so I’ll take a look.

From: [email protected]
[mailto:[email protected]] On Behalf Of Shri B.
Sent: Friday, April 17, 2009 3:54 PM
To: [email protected]
Subject: [Ironruby-core] Failures in core\module\autoload_spec.rb

I am getting these failures when I run irtests.bat, but now if I run
“mspec core\module\autoload”. Has anyone ever run into this?

Module#autoload uses dup copies for autoloaded constants FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:in should’
autoload_spec.rb:172
bug.rb:15:in ruby_bug' autoload_spec.rb:160 classes.rb:320:in protect_loaded_features’
autoload_spec.rb:159
:0:in instance_eval' mspec.rb:64:in protect’
context.rb:131:in protect' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in b__0’

:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in Each’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:in all?’
context.rb:129:in protect' context.rb:151:in process’
:0:in each' context.rb:143:in process’
mspec.rb:28:in describe' object.rb:10:in describe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:in files’
:0:in instance_eval' mspec.rb:64:in protect’
mspec.rb:48:in files' :0:in each’
mspec.rb:44:in files' mspec.rb:38:in process’
mspec-ci.rb:58:in run' script.rb:189:in main’
mspec-ci:0

Module#autoload autoloaded constants are removed on the first access
FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:in should’
autoload_spec.rb:180
classes.rb:320:in protect_loaded_features' autoload_spec.rb:179 :0:in instance_eval’
mspec.rb:64:in protect' context.rb:131:in protect’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in
`b__0’

:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in Each’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:in all?’
context.rb:129:in protect' context.rb:151:in process’
:0:in each' context.rb:143:in process’
mspec.rb:28:in describe' object.rb:10:in describe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:in files’
:0:in instance_eval' mspec.rb:64:in protect’
mspec.rb:48:in files' :0:in each’
mspec.rb:44:in files' mspec.rb:38:in process’
mspec-ci.rb:58:in run' script.rb:189:in main’
mspec-ci:0

Thanks,
Shri