From: Jamis Buck Date: 2005-01-29T23:42:10+09:00 Subject: Re: Running tests via rake. Plea for fix. On 22:23 Sat 29 Jan , Jim Weirich wrote: > On Friday 28 January 2005 09:51 am, Tobias Luetke wrote: > > Currently when you are running tests with rake you will run in all sorts > > of problems with the 1.8.2 release. > > > > Usually rake will just freeze and eat up all the available resources > > in the system. > > > > The fix is documented here: > > http://weblog.rubyonrails.com/archives/2005/01/15/having-problems-running-t > >ests-under-182/ > > I must be missing something. I just created a new rails project, added a > model (unit) test and a funtional test and could not reproduce the problem. > I am running: > > ruby 1.8.2 > rake 0.4.15 > rails 0.9.5 > actionmailer 0.6.1 > actionpack 1.4.0 > activerecord 1.6.0 > > All on debian linux. Is the problem only on windows? > Thanks for any help. I confess I haven't been following this thread, so I don't know what problems the OP was reporting. But I do know that I, myself (on gentoo) have problems using rake to run tests on non-rails apps. They seem to be related to the testrb script, but I haven't had time lately to track it down. The problem-child that comes to mind is my net-ssh project. Try running "rake test_all". This used to work. It seems to do with testrb not liking custom parameters being passed to the test script itself. (I know I could work around this with environment variables, but like I said, this *used* to work, and I haven't really had time to "fix" it.) It seems like there was at least one or two other issues I was running into, but either I can't remember what they were, or they are already fixed. :) - Jamis > > -- > -- 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) > > -- Jamis Buck jamis_buck@byu.edu http://jamis.jamisbuck.org ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."