summaryrefslogtreecommitdiff
path: root/tests/cygnus-dependency-tracking.test
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-01-21 19:54:35 +0100
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-01-21 19:56:36 +0100
commit06b839e41b255cee3fdc9eba01d94db888c37181 (patch)
treef84ca935d03d86c92ec1348b19baf2c10593ff0c /tests/cygnus-dependency-tracking.test
parent7e7a8a6497cbc2473a3e25dd1067f2d44346325e (diff)
downloadautomake-06b839e41b255cee3fdc9eba01d94db888c37181.tar.gz
tests: avoid false failure in cygnus-dependency-tracking.test.
* tests/cygnus-dependency-tracking.test: Be less restrictive when grepping the compiler error message, GCC 3.4.6 on FreeBSD does not mention an undefined symbol. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/cygnus-dependency-tracking.test')
-rwxr-xr-xtests/cygnus-dependency-tracking.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cygnus-dependency-tracking.test b/tests/cygnus-dependency-tracking.test
index f2f4aea22..58b3e8669 100755
--- a/tests/cygnus-dependency-tracking.test
+++ b/tests/cygnus-dependency-tracking.test
@@ -68,6 +68,7 @@ $MAKE test-nodeps
$MAKE clean
$MAKE >out 2>&1 && { cat out; Exit 1; }
cat out
-$FGREP 'GIVE_BACK' out
+# Not all compilers mention the undefined symbol in the error message.
+grep GIVE_BACK out || grep main out
: