From: Jim Weirich Date: 2004-12-30T06:28:34+09:00 Subject: Re: unusual rake behaviour Jim Weirich said: > > Yogi said: >> Hello all! >> >> I've been getting some odd behaviour in rake. The foll cmd doesn't >> seem to run the tests in foo_test.rb. I'm using ruby 1.8.2, rake >> 0.4.13, on linux (fedora core 2) > > Hmm ... I just tried the code you supplied on a windows box and a debian > box and had no problems. I tried with the foo_test.rb file in the same > directory as the Rakefile and also with it in a subdirectory named test. > >> I've also tried running "ruby -Ilib -e0 -rfoo_test", and it gives the >> same output. 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)