From: Tom Tromey Date: Sun, 11 Feb 1996 23:41:16 +0000 (+0000) Subject: Testsuite fixes X-Git-Tag: Release-0-30~31 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f3fa14bd6ae4a8a4bc99bc2d7e245ecebaa5c049;p=automake.git Testsuite fixes --- diff --git a/automake.in b/automake.in index 6149f787..f1aad937 100755 --- a/automake.in +++ b/automake.in @@ -259,7 +259,7 @@ sub generate_makefile { local ($makefile) = @_; - print "creating ", $makefile, ".in\n"; + # print "creating ", $makefile, ".in\n"; &initialize_per_input; $relative_dir = &dirname ($makefile); diff --git a/tests/ChangeLog b/tests/ChangeLog index 9e00db64..e6d5028c 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,9 @@ +Sun Feb 11 16:39:14 1996 Tom Tromey + + * checkall.test: Delay a little. + + * Makefile.am (check-local): Print name of failing test. + Sat Feb 10 17:08:39 1996 Tom Tromey * checkall.test: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index 9fc27c1e..e49f5290 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -17,7 +17,10 @@ check-local: ## which are compiled -- a possibly useful feature. if test -f $$tst; then dir=.; \ else dir="$(srcdir)"; fi; \ - $$dir/$$tst || failed=`expr $$failed + 1`; \ + $$dir/$$tst || { \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + } \ done; \ if test "$$failed" -eq 0; then \ echo "All $$all tests passed"; \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 3b3aa5c7..ec04ba4f 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -131,7 +131,10 @@ check-local: all=`expr $$all + 1`; \ if test -f $$tst; then dir=.; \ else dir="$(srcdir)"; fi; \ - $$dir/$$tst || failed=`expr $$failed + 1`; \ + $$dir/$$tst || { \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + } \ done; \ if test "$$failed" -eq 0; then \ echo "All $$all tests passed"; \ diff --git a/tests/checkall.test b/tests/checkall.test index ed6eae5c..99cb0c6c 100755 --- a/tests/checkall.test +++ b/tests/checkall.test @@ -9,6 +9,10 @@ # 'source', the make will fail. No, really. echo foo > derived +# In fact, sometimes it still fails. So we delay a little to make +# sure the timestamps are ok. +sleep 1 + cat > Makefile.am << 'END' bin_SCRIPTS = derived check-local: