]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] tests: fix two spurious failures
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 23 Dec 2014 10:20:06 +0000 (11:20 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 23 Dec 2014 10:31:13 +0000 (11:31 +0100)
* t/self-check-dir.tap: Here (where we didn't account for VPATH builds).
* t/subpkg.sh: And here (where we were trying to copy the 'compile'
build-aux script on a pre-existing, read-only one).

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/self-check-dir.tap
t/subpkg.sh

index e46870bc1f9ca114509190c925bcc8fef14b94aa..4c905c1fd905e042c0d60f2319fa3e139f68e824 100644 (file)
@@ -65,7 +65,7 @@ do_check 'do not pre-populate testdir' \
 do_check 'do not create nor chdir in testdir' \
          'am_create_testdir=no' \
          'test ! -e t/_self.dir || exit 1
-          grep "compare-autodiffs" maintainer/maint.mk || exit 1
+          grep "^t/depcomp-lt-gcc\.log:" Makefile || exit 1
           case $(pwd) in '"$cwd"') : ;; *) exit 1;; esac'
 
 :
index 60a22784064b6622f5251a91ae6e6c00c2aea3f9..b09172ccf85520907efa70592d49e9f15fdfc7b2 100644 (file)
@@ -90,8 +90,6 @@ int lib (void)
 }
 EOF
 
-cp "$am_scriptdir"/compile .
-
 $ACLOCAL
 $AUTOCONF -Werror -Wall
 $AUTOMAKE -Wno-override