David Golden wrote:

  perl -MCPAN::Reporter::Smoker -e start

If I recall, on Windows, you can't isolate CTRL-C to a single process.
  Everything in the process group gets it.

Situation:

(a) You're running CPAN::Reporter::Smoker

(b) It tests some poorly behaved distribution

(c) You hit CTRL-C to bail out the hung test process

(d) CPAN::Reporter::Smoker gets the SIGINT, too

My thought was that if you're smoking, you want to keep going when one
distribution goes bad and not restart, so I made that the easy option.

No, I'm smoking on Windows and smoker stays alive. Sometimes it realizes that SIGINT came only after testing next distro, but this is mostly ok.

There's another problem, if you happen to hit Enter just to see if the distro awaits something from STDIN or just hangs, it became the default for y/N and C::R::S stops smoking. I'd like to have Y as default because of this.

Moreover, as you may remember, I run smoke tests on WD Mybook where some distros want too much memory and got SIGTERM. Then everything waits for me to came to see what's going on, and it may take a few days. It would be good to force smoker to start testing further, though I cannot be sure if this is suitable for other testers.

--
Serguei Trouchelle

Reply via email to