]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: small enhancement to 'primary3.test'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jul 2011 09:11:06 +0000 (11:11 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jul 2011 09:11:30 +0000 (11:11 +0200)
* tests/primary3.test: Also test that the program named `foo.la'
has been effectively created.

ChangeLog
tests/primary3.test

index 4186026cbe08d376479a267367459630ba4c8fe6..d2b7a25d7f8a01722635730fb7a160c42d092279 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: small enhancement to 'primary3.test'
+       * tests/primary3.test: Also test that the program named `foo.la'
+       has been effectively created.
+
 2011-07-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests: a small simplification in 'pr8365-remake-timing.test'
index a7a915fbf1f531521d26de424ab2b625cedd1202..024b3084f2f75e684d3d898f7f3f3b991c192603 100755 (executable)
@@ -27,6 +27,9 @@ EOF
 cat > Makefile.am << 'END'
 bin_PROGRAMS = foo.la
 foo_la_SOURCES = foo.c
+.PHONY: test
+test: all
+       test -f foo.la$(EXEEXT)
 END
 
 echo 'int main () { return 0; }' > foo.c
@@ -35,6 +38,6 @@ $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
 ./configure
-$MAKE
+$MAKE test
 
 :