]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] parallel-tests: remove workarounds required by Solaris xpg4 make
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 15 Apr 2012 19:38:03 +0000 (21:38 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 16 Apr 2012 20:37:46 +0000 (22:37 +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 <stefano.lattarini@gmail.com>
lib/am/check.am

index 1587c5e903634dc40c2db1f59f4c458d7d90e29b..abdbd01a09c55149f2b1804dbab5d9f59a6aafca 100644 (file)
@@ -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