From: Peter Rosin Date: Thu, 2 Feb 2012 20:08:46 +0000 (+0100) Subject: tests: do not clobber the modified CC X-Git-Tag: ng-0.5a~11^2~18^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d51da57f66d5ad66d1edfe3898baa0bef625f4e1;p=thirdparty%2Fautomake.git tests: do not clobber the modified CC 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. --- diff --git a/tests/check8.test b/tests/check8.test index a9e573064..cbf1052e9 100755 --- a/tests/check8.test +++ b/tests/check8.test @@ -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