From: Stefano Lattarini Date: Sun, 24 Jul 2011 09:11:06 +0000 (+0200) Subject: tests: small enhancement to 'primary3.test' X-Git-Tag: ng-0.5a~89^2~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eb0250df68e50bab8dc608c736769dd9bb3ecbf;p=thirdparty%2Fautomake.git tests: small enhancement to 'primary3.test' * tests/primary3.test: Also test that the program named `foo.la' has been effectively created. --- diff --git a/ChangeLog b/ChangeLog index 4186026cb..d2b7a25d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-07-24 Stefano Lattarini + + 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 tests: a small simplification in 'pr8365-remake-timing.test' diff --git a/tests/primary3.test b/tests/primary3.test index a7a915fbf..024b3084f 100755 --- a/tests/primary3.test +++ b/tests/primary3.test @@ -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 :