From: nobu.nokada@... Date: 2003-08-05T13:36:45+09:00 Subject: Re: make test fails on my box Hi, At Tue, 5 Aug 2003 11:43:26 +0900, Dave Thomas wrote: > With the current CVS, make test fails: > > not ok system 9 -- /tc/dl/ruby/ruby1.8/sample/test.rb:1622 sample/test.rb:1622 seems blank. Have you edited that file? $ cvs co -p -rv1_8_0 ruby/sample/test.rb | cat -n | grep -A2 -B13 1622 =================================================================== Checking out ruby/sample/test.rb RCS: /cvs/ruby/src/ruby/sample/test.rb,v VERS: 1.74 *************** 1609 def valid_syntax?(code, fname) 1610 eval("BEGIN {return true}\n#{code}", nil, fname, 0) 1611 rescue Exception 1612 puts $!.message 1613 false 1614 end 1615 1616 for script in Dir["#{dir}{lib,sample,ext}/**/*.rb"] 1617 unless valid_syntax? IO::read(script), script 1618 $bad = true 1619 end 1620 end 1621 test_ok(!$bad) 1622 1623 test_check "const" 1624 TEST1 = 1 -- Nobu Nakada