automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH v2] Overhauled and modularized tests in `instspc.test'.


From: Stefano Lattarini
Subject: Re: [PATCH v2] Overhauled and modularized tests in `instspc.test'.
Date: Fri, 24 Sep 2010 17:28:19 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

BRIEF DESCRIPTION
  Run the instspc tests with SunStudio dmake and Solaris /bin/sh, and
  with some GNU tools available.

DETAILS
 * Operating system is Solaris 10 (SunOS 5.10 Generic_141445-09 i86pc)
 * The locale is strictly set to "C".
 * MAKE is forced to dmake (Sun Distributed Make 7.8 SunOS_i386
   Patch 126504-01 2007/07/19)
 * CONFIG_SHELL is forced to the Solaris /bin/sh
 * xpg4, xpg6 and ccs programs are in PATH
 * GNU sed (3.02), GNU expr (from GNU coreutils 6.9), and GNU awk (3.1.5)
   are early in PATH
 * GNU install (from GNU coreutils 6.9) available in PATH as `ginstall'
 * autoconf, autom4te, autoheader and autoupdate version 2.67
 * libtool (GNU libtool) 2.2.10 (should be irrelevant here)
 * the GCC C, C++ and Fortran compilers (version 4.4.4)
 * perl interpreter (v5.12.2)
 * Solaris binutils (as, ld, ar, ranlib, all from /usr/bin/ccs)

OUTCOME
 All the instspc*.test tests behaved as expected.

EXTRA NOTES
 I had to manually tweak Automake's own tests/Makefile.in to revert
 changes introduced in commit v1.11-191-g24e3b4e, which breaks dmake:

diff --git a/lib/Automake/tests/Makefile.in b/lib/Automake/tests/Makefile.in
index 09d3a63..567802b 100644
--- a/lib/Automake/tests/Makefile.in
+++ b/lib/Automake/tests/Makefile.in
@@ -404,10 +404,10 @@ check-TESTS:
        @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
        @list='$(TEST_LOGS)';                                           \
-       list=`for f in $$list; do                                       \
-         test .log = $$f || echo $$f;                                  \
-       done | tr '\012\015' '  '`;                                     \
-       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
+       { echo "TEST_LOGS = \\";                                        \
+         for f in $$list; do test .log = $$f || echo "$$f \\"; done;   \
+       } | sed '$$s/\\$$//'                                            \
+         | $(MAKE) -f Makefile -f - $(AM_MAKEFLAGS) $(TEST_SUITE_LOG)
 



reply via email to

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