signal handling (was: prepare Automake's test suite for parallelization)

2007-11-12 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Sat, Nov 10, 2007 at 11:13:45AM CET: > > BTW, there is one thing about the Automake test suite that has been > bothering me for a long time: you often cannot interrupt it with ^C. > I usually keep it pressed until one of the repeated interrupts finally > kills the testin

Re: prepare Automake's test suite for parallelization

2007-11-10 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Sun, Nov 04, 2007 at 08:16:32PM CET: > * Benoit SIGOURE wrote: > > Most modern OSes randomize PIDs, so it's > > going to be cumbersome. My personal opinion would be to use something > > based on the test name. If you want, you can try to combine the test-name > > and

Re: prepare Automake's test suite for parallelization

2007-11-04 Thread Ralf Wildenhues
* Benoit SIGOURE wrote on Sun, Nov 04, 2007 at 07:44:10PM CET: > On Nov 4, 2007, at 7:07 PM, Ralf Wildenhues wrote: > >> - for XPASS tests we do the wrong thing: remove the test directory. >> This is because our suite's defs.in has no idea that we are running >> an XPASS. The keep_testdirs is

Re: prepare Automake's test suite for parallelization

2007-11-04 Thread Benoit SIGOURE
On Nov 4, 2007, at 7:07 PM, Ralf Wildenhues wrote: I'm not entirely happy with this one yet. It does what is needed, but it has warts: - if you interrupt the test suite, you will have leftover directories, That's a minor problem, methinks. As long as a subsequent `make clean' Does The Righ

Re: prepare Automake's test suite for parallelization

2007-11-04 Thread Jim Meyering
Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > FWIW2, we could use subdirectories named after the test name rather than > using the PID. However, I've found myself running the same test in > parallel sometimes: > make check TESTS=foo.test # Stop with C^Z, then run same command again > > and it cau

prepare Automake's test suite for parallelization

2007-11-04 Thread Ralf Wildenhues
I'm not entirely happy with this one yet. It does what is needed, but it has warts: - if you interrupt the test suite, you will have leftover directories, - the check-clean stuff is supposed to be niceified in a later patch (i.e., made into a proper Automake interface). - for XPASS tests we do t