Le mardi 8 décembre 2009 17:04, Michael Matz a écrit :
Hi,
On Tue, 8 Dec 2009, Jean Delvare wrote:
Needless to say that I build some packages outside of OBS (but still with build/lbuild), with a kind of different iron that has lots, but slow CPUs.
OK, thanks for the clarification. I'll accept your request for quilt.
While we're here, is there a way for Makefiles to know whether the instance of "make" which is processing them was passed -j > 1? I might need this soon.
$(MAKEFLAGS)
But you should ask yourself why you'd want to detect this.
I knew someone would tell this ;) Fair enough.
If you feel the need to change behaviour depending on if the make is parallel or not, then this must mean that something else is fishy. Perhaps it's better to fix that fishyness instead of working around it :)
The case at hand is quilt's test suite. It's relatively verbose. When tests are run sequentially it's OK. If they are run in parallel then all outputs will interlace and things will become very difficult to read. So I am looking for ways to run the tests in parallel while still obtaining a usable output if one of the tests fails. And I thought it might help if I could pass a flag to the tester to warn it about parallelism so that it can adjust its output. I'm not too sure how, though. Out of curiosity, is there a shell command that would simply buffer every input until EOF and then flush everything to stdout? -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org