From: Gary V. Vaughan Date: Thu, 29 Jul 2004 18:13:37 +0000 (+0000) Subject: * tests/tagtrace.test: Skip this test when running a VPATH build X-Git-Tag: release-1-9b~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eddfb6fbb99ee560d4d0d8a4f73434f5aeaa7f2;p=thirdparty%2Flibtool.git * tests/tagtrace.test: Skip this test when running a VPATH build against a read-only source tree (as in distcheck for example), since autoconf wants to write temporary files in $top_srcdir otherwise. --- diff --git a/ChangeLog b/ChangeLog index 93bf5f356..701014fd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2004-07-29 Gary V. Vaughan + * tests/tagtrace.test: Skip this test when running a VPATH build + against a read-only source tree (as in distcheck for example), + since autoconf wants to write temporary files in $top_srcdir + otherwise. + * Makefile.am ($(top_srcdir)/config/ltmain.sh): Automake assumes, quite rightly for every project except libtool, that there will be an ltmain.sh in the source tree. diff --git a/tests/tagtrace.test b/tests/tagtrace.test index 98d81b79b..f24f77b39 100755 --- a/tests/tagtrace.test +++ b/tests/tagtrace.test @@ -27,7 +27,14 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 +: ${fnord=$srcdir/../fnord$$} + "$AUTOCONF" --version > /dev/null 2>&1 || func_skip "This test requires GNU Autoconf" +if touch $fnord; then + rm $fnord +else + func_skip "This test requires write access to the source tree" +fi # Abort as soon as something fails. set -e