diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-07 01:41:29 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-07 01:41:29 +0100 |
commit | eb3945795c35cfbdc02cacb6a1f45f7b0606a5b1 (patch) | |
tree | 254965252bc6acc170cab2dc617c035180818b02 /tests/depend6.test | |
parent | ab42654df7632fed09a2317389b1eb4935d432d7 (diff) | |
download | automake-eb3945795c35cfbdc02cacb6a1f45f7b0606a5b1.tar.gz |
testsuite: SKIP compile tests if configure found no compiler.
* tests/depend6.test: configure will exit 77 if AC_PROG_CC found
no working compiler. Allow the test to be SKIPped in that case.
* tests/postproc.test: Likewise.
* tests/pr243.test: Likewise.
* tests/pr266.test: Likewise.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/depend6.test')
-rwxr-xr-x | tests/depend6.test | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/depend6.test b/tests/depend6.test index 6a1595c58..7a1f7220b 100755 --- a/tests/depend6.test +++ b/tests/depend6.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008, 2009 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -39,7 +39,9 @@ END $ACLOCAL $AUTOMAKE $AUTOCONF -./configure --disable-dependency-tracking 2>stderr || { cat stderr >&2; Exit 1; } +./configure --disable-dependency-tracking 2>stderr || { + stat=$?; cat stderr >&2; Exit $stat; +} cat stderr >&2 grep shift stderr && Exit 1 : |