tests: do not clobber the modified CC
authorPeter Rosin <peda@lysator.liu.se>
Thu, 2 Feb 2012 20:08:46 +0000 (21:08 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Thu, 2 Feb 2012 20:08:46 +0000 (21:08 +0100)
If CC is originally a losing compiler, AM_PROG_CC_C_O will
modify CC.  "$MAKE -e" will then clobber this modified CC
and reintroduce the raw losing compiler causing the test
to fail, as subdir-objects is in effect.

tests/check8.test: Drop -e from the $MAKE invocation, since
AM_COLOR_TESTS is not specified in the Makefile and -e is
therefore not needed.

tests/check8.test

index a9e5730..cbf1052 100755 (executable)
@@ -65,7 +65,7 @@ $AUTOCONF
 $AUTOMAKE -a
 
 ./configure
-AM_COLOR_TESTS=always $MAKE -e check >stdout 2>stderr &&
+AM_COLOR_TESTS=always $MAKE check >stdout 2>stderr &&
   { cat stdout; cat stderr >&2; Exit 1; }
 cat stdout
 cat stderr >&2