]> sourceware.org Git - automake.git/commitdiff
Testsuite fixes
authorTom Tromey <tromey@redhat.com>
Sun, 11 Feb 1996 23:41:16 +0000 (23:41 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 11 Feb 1996 23:41:16 +0000 (23:41 +0000)
automake.in
tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/checkall.test

index 6149f7872b84b783decafbbe863a974474db68d6..f1aad937b7d970c576bdb236707125902a3e3ea7 100755 (executable)
@@ -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);
index 9e00db6492be71ba5ae0ffe534c21ab59d4e51aa..e6d5028cffecad6d5a2f3994be60e78671fba26f 100644 (file)
@@ -1,3 +1,9 @@
+Sun Feb 11 16:39:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
+
+       * checkall.test: Delay a little.
+
+       * Makefile.am (check-local): Print name of failing test.
+
 Sat Feb 10 17:08:39 1996  Tom Tromey  <tromey@creche.cygnus.com>
 
        * checkall.test: New file.
index 9fc27c1ee3f07ea72bf5f5e1dd7505d7286bce66..e49f5290efd8a6f2687984ceddae7b48dfba84e2 100644 (file)
@@ -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"; \
index 3b3aa5c74ef68246c23f79c4b24377868a6b00e2..ec04ba4f2a28b5af6a6be10b959be428ede6daaf 100644 (file)
@@ -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"; \
index ed6eae5c903590ea73d5b9393ab892feebf87e26..99cb0c6ce9fc3748b5aa21cf9070bf5a50f85e45 100755 (executable)
@@ -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:
This page took 0.032098 seconds and 5 git commands to generate.