]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix few spurious failures
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 26 May 2013 20:45:22 +0000 (22:45 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 26 May 2013 20:45:22 +0000 (22:45 +0200)
* t/subobj-c.sh, t/subobj-libtool.sh,  t/test-extensions-funny-chars.sh:
In these tests.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/subobj-c.sh
t/subobj-libtool.sh
t/test-extensions-funny-chars.sh

index e0c2ad2aac7dbe428e40882d722d02e83f7bfcf8..5d7b24a2718d04c5d5eb5e5613a0b9d93c60a82e 100644 (file)
@@ -74,7 +74,7 @@ $AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; exit 1; }
 cat stderr >&2
 
 # Make sure compile is installed, and that Automake says so.
-grep '^configure\.ac:7:.*install.*compile' stderr
+grep '^configure\.ac:4:.*install.*compile' stderr
 test -f compile
 
 $EGREP '[^/](a|b|foo)\.\$(OBJEXT)' Makefile.in && exit 1
index 2011d61534f8d4f21005ba20fc7c91e7037d4466..8afad6bfbd8577481b2cea3ef036fc57ea3233ab 100644 (file)
@@ -58,7 +58,7 @@ $ACLOCAL
 rm -f compile
 $AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; exit 1; }
 cat stderr >&2
-grep '^configure\.ac:7:.*install.*compile' stderr
+grep '^configure\.ac:4:.*install.*compile' stderr
 test -f compile
 
 grep '[^/][123]\.lo' Makefile.in && exit 1
index a19f6e80b2643f6b764c3aaa3c0149ac8e39f9d6..33182cb818efebdd91a0196b4dc47d0b86060045 100644 (file)
@@ -103,7 +103,7 @@ test ! -f bar.log
 test ! -f baz.log
 test ! -f zardoz.log
 
-run_make -O check TESTS=zardoz L!NU.X_LOG_COMPILER=/bin/sh
+run_make -e IGNORE -O check TESTS=zardoz L!NU.X_LOG_COMPILER=/bin/sh
 count_test_results total=1 pass=0 fail=0 skip=0 xfail=0 xpass=1 error=0
 cat test-suite.log
 test ! -f foo.log
@@ -111,7 +111,7 @@ test ! -f bar.log
 test ! -f baz.log
 cat zardoz.log
 grep 'Hello Zardoz' zardoz.log
-test $am_make_rc -eq 0
+test $am_make_rc -gt 0
 
 run_make -O recheck
 count_test_results total=1 pass=0 fail=0 skip=0 xfail=1 xpass=0 error=0