From: Stefano Lattarini Date: Sat, 5 May 2012 14:33:36 +0000 (+0200) Subject: parallel-tests: separate different logs with an empty line X-Git-Tag: v1.12.0b~16^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952d91c054d4e68731a23752afc904f9f9061491;p=thirdparty%2Fautomake.git parallel-tests: separate different logs with an empty line After commit v1.12-21-g5eeb366 "parallel-tests: optimize global log creation", the log files copied in the global log are not anymore separated by a blank line, causing unclear output like this: FAIL: test1 =========== output from test 1 FAIL: test2 =========== output from test 2 where we would want something like this: FAIL: test1 =========== output from test 1 FAIL: test2 =========== output from test 2 Fix this regression. * lib/am/check.am (am__create_global_log): Print an extra empty line after having displayed the content of a '.log' file. Signed-off-by: Stefano Lattarini --- diff --git a/lib/am/check.am b/lib/am/check.am index a65fef97c..838766a39 100644 --- a/lib/am/check.am +++ b/lib/am/check.am @@ -152,6 +152,7 @@ function rst_section(header) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ + printf "\n"; \ }; \ ## Don't leak open file descriptors, as this could cause serious ## problems when there are many tests (yes, even on Linux).