2006-10-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * tests/tagtrace.test: SKIP if `autoconf --trace' exits 63 or 1,
+ for various possible (valid) error cases. Also output stderr,
+ to help with analysis.
+
* NEWS: Account for recent multilib fix.
* tests/search-path.at: New test, to provide at least a weak
test.
func_skip "This test requires write access to the source tree"
fi
-if ( cd "$srcdir" && $AUTOCONF --trace 'LT_SUPPORTED_TAG:$1' ) 2>&1 >/dev/null |
- grep "Autoconf version .*is required" >/dev/null; then
- func_error "This test requires an Autoconf version at least as new"
+( cd "$srcdir" && $AUTOCONF --trace 'LT_SUPPORTED_TAG:$1' ) >/dev/null
+ret=$?
+if test $ret -eq 63 || test $ret -eq 1; then
+ func_error "This test requires the same Autoconf version"
func_skip "as the one that was used to bootstrap Libtool"
+elif test $ret -ne 0; then
+ func_fatal_error "\`$AUTOCONF --trace' exited $ret"
fi
# Abort as soon as something fails.