From: Dave Halliday Date: 2004-12-30T10:55:19+09:00 Subject: Re: unusual rake behaviour I checked CVS. There is a recent (Dec. 19) change made by Nobu to test/unit.rb that was part of the 1.8.2 release. The code for auto-running the tests was changed from: Test::Unit::AutoRunner.run($0) to: Test::Unit::AutoRunner.run($0 != "-e" && $0) Reverting this change will get Rake::TestTask working again, but I'm not sure what else will break as a consequence. The change was likely trying to fix some other problem. The CVS checkin comment doesn't say why it was changed. Cheers, Dave On Dec 29, 2004, at 4:28 PM, Jim Weirich wrote: > > Jim Weirich said: > > Someone just informed me that in 1.8.2 test/unit does not work with the > ruby -e0 -rtestfile technique that Rake is using to load the unit > tests. > I haven't been able to verify this. I'm not running 1.8.2 yet, so I am > not able to validate this. > > Nathaniel ... is this intentional? What's the story? > > -- > -- Jim Weirich jim@weirichhouse.org http://onestepback.org > ----------------------------------------------------------------- > "Beware of bugs in the above code; I have only proved it correct, > not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas) > >