automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {maint} parallel-tests: separate different logs with an empty line


From: Stefano Lattarini
Subject: [FYI] {maint} parallel-tests: separate different logs with an empty line
Date: Sat, 5 May 2012 16:39:55 +0200

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 <address@hidden>
---

 Applied to a temporary bug-fixing branch based off of the offending
 commit, merged into maint, and pushed.

 Regards,
   Stefano

 lib/am/check.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/am/check.am b/lib/am/check.am
index a65fef9..838766a 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).
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]