automake-ng
[Top][All Lists]
Advanced

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

[Automake-ng] [PATCH 4/4] [ng] parallel-tests: remove workarounds requir


From: Stefano Lattarini
Subject: [Automake-ng] [PATCH 4/4] [ng] parallel-tests: remove workarounds required by Solaris xpg4 make
Date: Sun, 15 Apr 2012 21:55:15 +0200

* lib/am/check.am (check-TESTS, recheck): Simplify by not bothering to
work around a bug of Solaris xpg4 make that is not shared by GNU make.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 lib/am/check.am |   18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/lib/am/check.am b/lib/am/check.am
index 1587c5e..abdbd01 100644
--- a/lib/am/check.am
+++ b/lib/am/check.am
@@ -323,22 +323,8 @@ check-TESTS recheck:
            grep "^$$ws*:recheck:$$ws*no$$ws*$$" $$i.trs \
              >/dev/null 2>&1 && continue; \
          else :; fi; \
-## Be careful to avoid extra whitespace in the definition of $list, since
-## its value will be passed to the recursive make invocation below through
-## the TEST_LOGS macro, and leading/trailing white space in a make macro
-## definition can be problematic.  In this particular case, trailing white
-## space was known to cause a segmentation fault on Solaris 10 XPG4 make:
-## <http://lists.gnu.org/archive/html/bug-automake/2010-08/msg00004.html>
-         if test -z "$$log_list"; then \
-           log_list="$$i.log"; \
-         else \
-           log_list="$$log_list $$i.log"; \
-         fi; \
-         if test -z "$$trs_list"; then \
-           trs_list="$$i.trs"; \
-         else \
-           trs_list="$$trs_list $$i.trs"; \
-         fi; \
+         log_list="$$log_list $$i.log"; \
+         trs_list="$$trs_list $$i.trs"; \
        done; \
 ## Under "make recheck", remove the .log and .trs files associated
 ## with the files to recheck, so that those will be rerun by the
-- 
1.7.9.5




reply via email to

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