From 4eb0250df68e50bab8dc608c736769dd9bb3ecbf Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 24 Jul 2011 11:11:06 +0200 Subject: [PATCH] tests: small enhancement to 'primary3.test' * tests/primary3.test: Also test that the program named `foo.la' has been effectively created. --- ChangeLog | 6 ++++++ tests/primary3.test | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 : -- 2.47.2