From: Dev Guy Date: 2013-01-02T05:59:08+09:00 Subject: Re: ruby make test error --bcaec550afdc4db6ae04d24054ad Content-Type: text/plain; charset=ISO-8859-1 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: > On Mon, Dec 31, 2012 at 3:25 PM, Eric Christopherson > wrote: > > 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 Mon, Dec 31, 2012 at 5:21 AM, Dev Guy wrote: > >> 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 `': > >> 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 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 --bcaec550afdc4db6ae04d24054ad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Eric, thanks for pointing that out, this is something new = which i have never seen in the past building ruby.

I per= sonally 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 s= omething wrong with there ruby built from source.


On Mon, Dec 31, 2012 = at 5:06 PM, tamouse mailing lists <tamouse.lists@gmail.com> wrote:
On Mon, Dec 31, 2012 at 3:= 25 PM, Eric Christopherson
<echristopherson@gmail.com<= /a>> wrote:
> 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 Mon, Dec 31, 2012 at 5:21 AM, Dev Guy <
devguy.ca@gmail.com> wrote:
>> After building ruby from source I got the following error with, &q= uot;make test"
>>
>> PASS all 950 tests
>> ./miniruby -I./lib -I. -I.ext/common =A0./tool/runruby.rb --extout= =3D.ext =A0--
>> --disable-gems "./bootstraptest/runner.rb" --ruby=3D&quo= t;ruby" =A0./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)>':
>> =A0 =A01
>> =A0 =A0'ok' =A0#=3D> "ok" (expected "&qu= ot;)
>> 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?




--
Kind Regards= ,
Rajinder Yadav

SafetyNet Test Driven Development
http://safetynet.devment= or.org
--bcaec550afdc4db6ae04d24054ad--