]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/tagtrace.test: Skip this test when running a VPATH build
authorGary V. Vaughan <gary@gnu.org>
Thu, 29 Jul 2004 18:13:37 +0000 (18:13 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 29 Jul 2004 18:13:37 +0000 (18:13 +0000)
against a read-only source tree (as in distcheck for example),
since autoconf wants to write temporary files in $top_srcdir
otherwise.

ChangeLog
tests/tagtrace.test

index 93bf5f356aa398f43fdded5e24b6ebf495ef3f38..701014fd9892c454b06ee137e10f652d51ab37f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2004-07-29  Gary V. Vaughan  <gary@gnu.org>
 
+       * 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.
index 98d81b79b95066bdbcdb0c4864440aad221e3c6d..f24f77b399c0cf3260a8b237051c325586dda4e2 100755 (executable)
@@ -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