After building ruby from source I got the following error with, "make test" PASS all 950 tests ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./bootstraptest/runner.rb" --ruby="ruby" ./KNOWNBUGS.rb 2012-12-31 06:07:57 -0500 Driver is ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux] Target is ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux] KNOWNBUGS.rb F. #1 KNOWNBUGS.rb:6:in `<top (required)>': 1 'ok' #=> "ok" (expected "") FAIL 1/2 tests failed make: [yes-test-knownbug] Error 1 (ignored) I am building on Linux x86, how do I fix the 1/2 fail? thanks! -- Kind Regards, Rajinder Yadav SafetyNet Test Driven Development http://safetynet.devmentor.org
on 2012-12-31 12:21
on 2012-12-31 22:26
That file is called KNOWNBUGS.rb and contains the comment: # This test file concludes tests which point out known bugs. # So all tests will cause failure. So I wouldn't expect them to pass :)
on 2012-12-31 23:06
On Mon, Dec 31, 2012 at 3:25 PM, Eric Christopherson <echristopherson@gmail.com> wrote: >> PASS all 950 tests >> 'ok' #=> "ok" (expected "") >> FAIL 1/2 tests failed >> make: [yes-test-knownbug] Error 1 (ignored) >> >> >> I am building on Linux x86, how do I fix the 1/2 fail? thanks! Kind of curious why KNOWNBUGS.rb would be included in the standard make test recipe, then, no?
on 2013-01-01 22:00
Eric, thanks for pointing that out, this is something new which i have never seen in the past building ruby. I personally think there should be a separate test file for all known bugs, and have something like a "make test bugs" to run failing test cases :) This way the average guy won't think there's something wrong with there ruby built from source. On Mon, Dec 31, 2012 at 5:06 PM, tamouse mailing lists < tamouse.lists@gmail.com> wrote: > >> After building ruby from source I got the following error with, "make > >> > Kind of curious why KNOWNBUGS.rb would be included in the standard > make test recipe, then, no? > > -- Kind Regards, Rajinder Yadav SafetyNet Test Driven Development http://safetynet.devmentor.org
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.