Ruby make test error

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 Y.

SafetyNet Test Driven Development
http://safetynet.devmentor.org

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 :slight_smile:

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 :slight_smile:

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 <
[email protected]> 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 Y.

SafetyNet Test Driven Development
http://safetynet.devmentor.org

On Mon, Dec 31, 2012 at 3:25 PM, Eric C.
[email protected] 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?