]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
. TEXTUTILS-2_0g
authorJim Meyering <jim@meyering.net>
Sun, 6 Aug 2000 19:09:08 +0000 (19:09 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 6 Aug 2000 19:09:08 +0000 (19:09 +0000)
15 files changed:
tests/cut/Makefile.in
tests/head/Makefile.in
tests/join/Makefile.in
tests/md5sum/Makefile.in
tests/pr/Makefile.in
tests/sort/Makefile.in
tests/sum/Makefile.in
tests/tac/Makefile.in
tests/tail-2/Makefile.in
tests/tail/Makefile.in
tests/tr/Makefile.in
tests/tsort/Makefile.in
tests/unexpand/Makefile.in
tests/uniq/Makefile.in
tests/wc/Makefile.in

index fecfbf7e41addbf215c30b3ba587323c231aa2f3..a02e8fb8fff5ee064ccd93c9e26b1686266f8979 100644 (file)
@@ -176,54 +176,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index b5f0b76074c4f8c4430ddca326713a5088758d59..4c089bca454594c922a30ca62490f373a81702a4 100644 (file)
@@ -173,54 +173,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index 40c9008978585d429299a67470514a86fce3de33..30feac987aa15ef9a516640985e4c315911ffdd1 100644 (file)
@@ -176,54 +176,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index fc2d15db76a04f1d8bee07aa232a613efa969522..add8f1e85b7195b7f68e929f9e9493a274fb00d2 100644 (file)
@@ -152,54 +152,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index e559befd3a58bfc779441b3b8e76b9b8c6fbdca9..3f9e4349a5949258606f21ebce4146f5bb7b8e7c 100644 (file)
@@ -226,54 +226,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index de75b998a0aa700df59b4e19d4d25ca188aacb53..1848109fba840a0b2d386738c5c28d2264def21d 100644 (file)
@@ -196,54 +196,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index 80e3230da3b28a1e1da9189940032f0008e5aa8d..0c5e3fd4a6892ae2264ecf9d4ceeb630082c526e 100644 (file)
@@ -152,54 +152,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index e232113d045491aa90f63e6e8d5edfbf84d84fa3..f903d0816c146e431ca1415079e00c6ce7f2c49b 100644 (file)
@@ -174,54 +174,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index f11dd04b9ba998a428bdae6d24834cc1f216dfd3..5583ff21206d317a492f76a295b6b4f24d035364 100644 (file)
@@ -152,54 +152,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index 53f73463d5ef72917fd43bd45ba064da142b9509..dfd8e6611ae90cbbf6764a9755c5489385a0b6e9 100644 (file)
@@ -176,54 +176,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index cc97c0ae4eab4d5772e9497282d4b4bf3183e5f1..e3a449140ccab25535a6cded829f980efcb78a8d 100644 (file)
@@ -178,54 +178,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index 5b694e8360928dc79ee3dd4d1097072e3b9f77c3..93a6bedb6ca5cc2c441d3dac313a7d10375f7e78 100644 (file)
@@ -152,54 +152,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index 9bb13faacb6dca73e5a0ac66b12aadf8cafd5225..0442cbd47f80f79cadca7e2f4ef5229a269c04da 100644 (file)
@@ -152,54 +152,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index 567e013589a38108117d4a83df4d3e7e53bf0f15..c1cb0ce540e1094fcc1dccbd1224930f616b05a3 100644 (file)
@@ -172,54 +172,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
index 1c457efa1fb72b127fdc38a03f4534214c78b4e7..99dd522d04b0ad685700ac26e009e68f02018525 100644 (file)
@@ -166,54 +166,57 @@ TAGS:
 check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \
        srcdir=$(srcdir); export srcdir; \
-       for tst in $(TESTS); do \
-         if test -f ./$$tst; then dir=./; \
-         elif test -f $$tst; then dir=; \
-         else dir="$(srcdir)/"; fi; \
-         if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xpass=`expr $$xpass + 1`; \
-             failed=`expr $$failed + 1`; \
-             echo "XPASS: $$tst"; \
-           ;; \
-           *) \
-             echo "PASS: $$tst"; \
-           ;; \
-           esac; \
-         elif test $$? -ne 77; then \
-           all=`expr $$all + 1`; \
-           case " $(XFAIL_TESTS) " in \
-           *" $$tst "*) \
-             xfail=`expr $$xfail + 1`; \
-             echo "XFAIL: $$tst"; \
-           ;; \
-           *) \
-             failed=`expr $$failed + 1`; \
-             echo "FAIL: $$tst"; \
-           ;; \
-           esac; \
-         fi; \
-       done; \
-       if test "$$failed" -eq 0; then \
-         if test "$$xfail" -eq 0; then \
-           banner="All $$all tests passed"; \
-         else \
-           banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
-         fi; \
-       else \
-         if test "$$xpass" -eq 0; then \
-           banner="$$failed of $$all tests failed"; \
+       list='$(TESTS)'; \
+       if test -n "$$list"; then \
+         for tst in $$list; do \
+           if test -f ./$$tst; then dir=./; \
+           elif test -f $$tst; then dir=; \
+           else dir="$(srcdir)/"; fi; \
+           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xpass=`expr $$xpass + 1`; \
+               failed=`expr $$failed + 1`; \
+               echo "XPASS: $$tst"; \
+             ;; \
+             *) \
+               echo "PASS: $$tst"; \
+             ;; \
+             esac; \
+           elif test $$? -ne 77; then \
+             all=`expr $$all + 1`; \
+             case " $(XFAIL_TESTS) " in \
+             *" $$tst "*) \
+               xfail=`expr $$xfail + 1`; \
+               echo "XFAIL: $$tst"; \
+             ;; \
+             *) \
+               failed=`expr $$failed + 1`; \
+               echo "FAIL: $$tst"; \
+             ;; \
+             esac; \
+           fi; \
+         done; \
+         if test "$$failed" -eq 0; then \
+           if test "$$xfail" -eq 0; then \
+             banner="All $$all tests passed"; \
+           else \
+             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+           fi; \
          else \
-           banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           if test "$$xpass" -eq 0; then \
+             banner="$$failed of $$all tests failed"; \
+           else \
+             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+           fi; \
          fi; \
-       fi; \
-       dashes=`echo "$$banner" | sed s/./=/g`; \
-       echo "$$dashes"; \
-       echo "$$banner"; \
-       echo "$$dashes"; \
-       test "$$failed" -eq 0
+         dashes=`echo "$$banner" | sed s/./=/g`; \
+         echo "$$dashes"; \
+         echo "$$banner"; \
+         echo "$$dashes"; \
+         test "$$failed" -eq 0; \
+       fi
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)