On Wed, 17 Sep 2003, Steve Hay wrote: > Stas Bekman wrote: > > > Trying to spread unrelated topics into different threads, otherwise > > it's a mess: > > Guilty as charged m'lud :-) > > > > > > > Steve Hay wrote: > > > I tried running "perl t/SMOKE" but I just get this: > > > > > > ===== > > > C:\Temp\modperl-2.0>perl t/SMOKE > > > *** Using random number seed: 1012582729 (autogenerated) > > > *** > > > ------------------------------------------------------------ > > > *** [001-00-00] trying all tests 10 times > > > !!! failed to start server > > > '.' is not recognized as an internal or external command, > > > operable program or batch file. > > > ===== > > > > Yup, it needs tweaking to run on win32. > > > > Randy wrote: > > > Try changing this to "$^X /path/to/modperl-2.0/t/TEST". > > > However, when I tried running this it *seemed* to hang; > > > but I may have just been too impatient, or tired ...
A more portable solution to this (I think) is using $FindBin::Bin (which has already been used earlier) - I'll make up a patch for this. > > What do you mean hanging? have you tried adding the -verbose flag? Did > > it start the server? Did it start running the first tests? > > I tried "perl t/SMOKE -verbose=1" and it makes no difference. > > It kicks off an Apach.exe which eats a bit of CPU for a short while and > then everything goes quiet. Apache.exe stays sitting there, but doesn't > seem to do anything else. I left it for nearly 2 hours and nothing > happened. The problem here I believe is the use of pipes to launch the tests. I'm working on, for Win32, the use of Win32::Process instead - it's almost working, in that I can get the server to start up and run, but there's a couple of things to iron out, which hopefully won't take long. -- best regards, randy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]