[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

make test-all fails in test/drb on Mac OS X

G B-)

2/15/2006 2:37:00 AM

Hi

I'm building ruby-1.8.4 on Mac OS X 10.4.4 (Tiger) with XCode 2.1

This 'make's and 'make install's fine. It even 'make test's too.

'make test-all' or 'make check' fails with:
1313 tests, 14124 assertions, 0 failures, 79 errors
make: *** [test-all] Error 1

All of the errors are in test/drb

The pattern is (directory structured trimmed with '~'):
1) Error:
test_01(TestDRbAry):
RuntimeError: execution expired
~/ruby-lang-org/ruby-1.8.4/lib/timeout.rb:54:in `invoke_service'
~/ruby-lang-org/ruby-1.8.4/lib/drb/extservm.rb:39:in `service'
~/ruby-lang-org/ruby-1.8.4/test/drb/drbtest.rb:35:in `ext_service'
~/ruby-lang-org/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
~/ruby-lang-org/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
~/ruby-lang-org/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext_service'
~/ruby-lang-org/ruby-1.8.4/test/drb/drbtest.rb:279:in `setup'

These were the classes:
TestDRbAry
TestDRbCore
TestDRbEval
TestDRbLarge
TestDRbSSLAry
TestDRbSSLCore
TestDRbSafe1
TestDRbUNIXAry
TestDRbUNIXCore
TestDRbYield

I noticed a few days ago, others had a problem with failure in drb
tests.

The email said that 'sudo make install' followed by 'make test-all'
works, but my results were the unchanged, the same list of errors.
I tried moving the default ruby (/usr/bin/ruby to /usr/bin/orig.ruby)
to ensure only the new ruby is being used for the tests. The same
errors remained.
I even linked (ln) the /usr/local/bin/ruby and ruby in my build
directory.
This made no difference, I still get the errors.
I tried the trivial drb server on page 418 of pickaxe-2, and that
worked fine.

Any suggestions how to get the test/drb to work?
I don't feel comfortable trying to build my distributed application
with those drb tests broken.

GB-)

1 Answer

Michal Suchanek

2/15/2006 7:56:00 AM

0

On 2/15/06, G B-) <gbulmer@gmail.com> wrote:> HiHello>> I'm building ruby-1.8.4 on Mac OS X 10.4.4 (Tiger) with XCode 2.1>> This 'make's and 'make install's fine. It even 'make test's too.>> 'make test-all' or 'make check' fails with:> 1313 tests, 14124 assertions, 0 failures, 79 errors> make: *** [test-all] Error 1>> All of the errors are in test/drbIt looks like the drb failures are not OS X specific.on GNU/Linux ppc there are drb failures as well.see https://bugs.gentoo.org/show_bug.cgi?id... tests just timed out.ThanksMichal-- Support the freedom of music!Maybe it's a weird genre .. but weird is *not* illegal.Maybe next time they will send a special forces commandoto your picnic .. because they think you are weird. www.music-versus-guns.org http://en.police...