diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-08-12 23:33:56 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-08-12 23:33:56 +0200 |
commit | 7afca964324add2466d851aa07c3c650f624ed78 (patch) | |
tree | db6c7c0c1fc290b4ff14afb51dc29b7803a38348 /tests/test-driver-custom-no-html.test | |
parent | 9e5967708814027981d910e6fed4f7789eba23f8 (diff) | |
download | automake-7afca964324add2466d851aa07c3c650f624ed78.tar.gz |
testsuite: avoid spurious failure if rst2html program is missing
* tests/test-driver-custom-no-html.test: Account for the
possibility of a lacking `rst2html' program in our final
grepping of make output.
Diffstat (limited to 'tests/test-driver-custom-no-html.test')
-rwxr-xr-x | tests/test-driver-custom-no-html.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-driver-custom-no-html.test b/tests/test-driver-custom-no-html.test index 2c86026ec..37b93bc83 100755 --- a/tests/test-driver-custom-no-html.test +++ b/tests/test-driver-custom-no-html.test @@ -62,6 +62,8 @@ $FGREP 'dummy title' test-suite.log # Sanity check: trying to produce HTML output should fail. $MAKE check-html >output 2>&1 && { cat output; Exit 1; } cat output -$FGREP SEVERE output +# The second grep is to avoid spurious failures on systems without +# a working `rst2html' program. +$FGREP SEVERE output || $FGREP 'cannot find rst2html' output : |