From: SASADA Koichi Date: 2008-09-24T07:49:26+09:00 Subject: [ruby-core:18825] Re: miniunit added Ryan Davis wrote: > I've replaced test/unit with miniunit in order to meet the feature > freeze deadline. There are some extra failures in rdoc that Eric Hodel > is going to look into and fix. Otherwise it looks like failure parity is > fairly close. > > I had to comment out 3 tests in order to get my test runs to complete. I > didn't commit these changes. They would hang and the backtrace was > incredibly deep but looked like it might be thread deadlock while > handling a sigbus? I'm not sure but I'll look into it more later. > > > Next two problems: 1) doesn't output SEGV backtrace. $ make test-all TESTS=-v ... TestMarshal#test_range: 0.00 s: . TestMarshal#test_range_cyclic: make: *** [test-all] Segmentation fault I want to get a backtrace for debugging. miniunit closes stderr? 2) can't specify test case $ make test-all TESTS=ruby/test_marshal ko1@vd:~/ruby/build$ make test-all TESTS='ruby/test_marshal -v' ./miniruby -I../trunk/lib -I.ext/common -I./- -r../trunk/ext/purelib.rb ../trunk/runruby.rb --extout=.ext -- "../trunk/test/runner.rb" --basedir="../trunk/test" --runner=console ruby/test_marshal -v Skipping permutation tests. Gem::Indexer tests are being skipped. Install builder gem. Loaded suite ../trunk/test/runner Started ACLEntryTest#test_all: 0.00 s: . ACLEntryTest#test_ip: 0.00 s: . ACLEntryTest#test_ip_v6: 0.00 s: . ... On this case, I want to run only test/ruby/test_marhsal.rb -- // SASADA Koichi at atdot dot net