On Thu, Jan 6, 2011 at 9:14 PM, Erik Hollensbe <e...@hollensbe.org> wrote:
> rubygems-test is a testing facility for gems. It provides several
> features:
>
> $ gem install rubygems-test
> $ gem test rubygems-test
>
> (may require sudo)
>

C:\Users\Luis>gem test rubygems-test --backtrace
ERROR:  While executing gem ... (NameError)
    uninitialized constant Fcntl::F_SETFD
        
C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/gems/rubygems-test-0.2.0/lib/open4-vendor.rb:20:in
`popen4'
        
C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/gems/rubygems-test-0.2.0/lib/rubygems/commands/test_command.rb:236:in
`run_tests'
        
C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/gems/rubygems-test-0.2.0/lib/rubygems/commands/test_command.rb:188:in
`chdir'
        
C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/gems/rubygems-test-0.2.0/lib/rubygems/commands/test_command.rb:188:in
`run_tests'
        
C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/gems/rubygems-test-0.2.0/lib/rubygems/commands/test_command.rb:282:in
`execute'
        
C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/gems/rubygems-test-0.2.0/lib/rubygems/commands/test_command.rb:266:in
`each'
        
C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/gems/rubygems-test-0.2.0/lib/rubygems/commands/test_command.rb:266:in
`execute'
        
C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p330-i386-mingw32/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in
`invoke'
        
C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p330-i386-mingw32/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134:in
`process_args'
        
C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p330-i386-mingw32/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in
`run'
        
C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p330-i386-mingw32/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:63:in
`run'
        C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p330-i386-mingw32/bin/gem:21

> There are some issues on Windows still and they're still being worked
> out. The tests *should* run and pass however, just with additional
> warnings about double-requires. I should resolve these before the
> week is out.
>

Above example doesn't pass the test. Tried cloning rubygems-test and
running rake test there:

C:\Users\Luis\Projects\oss\rubygems-test>rake test
(in C:/Users/Luis/Projects/oss/rubygems-test)
C:/Users/Luis/Tools/Ruby/ruby-1.8.7-p330-i386-mingw32/bin/ruby.exe -w
-Ilib;bin;test;. -e 'require "rubygems"; require "test/unit"; require
"test/test_execute.rb"' --
./test/helper.rb:57: warning: method redefined; discarding old setup
Loaded suite -e
Started

----- This test is interactive -----

...Successfully uninstalled test-gem-0.0.0
ERROR:  Could not find gem test-gem (0.0.0)
.Successfully uninstalled test-gem-0.0.0
ERROR:  Couldn't find rakefile -- this gem cannot be tested. Aborting.
Successfully uninstalled test-gem-0.0.0
...
Finished in 2.424139 seconds.

7 tests, 13 assertions, 0 failures, 0 errors

The ERROR is the part I'm not confident with :-P

> Comments welcome! We are aiming for a more public release this
> weekend, and we're hoping to iron out the last of the major bugs
> before then.
>

I would like to know what is required from the Windows side (if you
heard of problems beyond the ones I shown above).

I can spare some hours this weekend to hack some solutions if required.

Cheers and thank you for working on this.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to