]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sat, 5 Aug 2000 19:36:20 +0000 (19:36 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 5 Aug 2000 19:36:20 +0000 (19:36 +0000)
15 files changed:
tests/chmod/Makefile.in
tests/cp/Makefile.in
tests/dd/Makefile.in
tests/dircolors/Makefile.in
tests/du/Makefile.in
tests/install/Makefile.in
tests/ln/Makefile.in
tests/ls-2/Makefile.in
tests/ls/Makefile.in
tests/mkdir/Makefile.in
tests/mv/Makefile.in
tests/rm/Makefile.in
tests/rmdir/Makefile.in
tests/shred/Makefile.in
tests/touch/Makefile.in

index a60e91d86ffe56fd9d0a5c3e7a3d0219d400a2d7..c84543ec7838d759eec1b2eeb8499e5548d8fb22 100644 (file)
@@ -148,54 +148,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 f3506350ecde9bd11bc9d1556a4af9de669e6aa7..bb88171adb480f4cd86bdb0571f8e99ab3141d65 100644 (file)
@@ -151,54 +151,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 1b7ea9e68022ef1ddec5ab3362fd8c0783bb514d..ccfd68d05337bfe533a9d383b9fbb4d43c6a8406 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 a95d5d39da1ad8dbd392b8e433a332a4f150422f..4476a074d43dd5e029e59551c54e851a7af59c2f 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 3beec2aa10ea2d72e338b25a9740bd7e085012fd..855f52f004735bea793fa7bea1f6e679727dcaa7 100644 (file)
@@ -148,54 +148,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 ad4ff2d3174b36fcf7a04a58acb32b5861cae9a7..6dcc7243d03c287826423e677ca3bbe29bd7a7e8 100644 (file)
@@ -148,54 +148,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 f8d79cc43387cdd3e5a1517a18c9418ffd2c6d6d..699901078f7b79bfb0c557c5b5731a483b96fdc7 100644 (file)
@@ -148,54 +148,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 3fa7e4dd09569942386461773d04d44c127dedb0..cf516211a990a17b8d867e21093671b6f6546a5c 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 db0de5d17b5e24f8a90afe1873efe9b73914ddb5..e121d94160f7d2825ba1a9702cdea271eafd8158 100644 (file)
@@ -151,54 +151,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 adc78157f65f834f20e7639c5a6d9c5a56788d0c..b6abbe828b6caf6335d5a982c2b4d4433cf1ee59 100644 (file)
@@ -148,54 +148,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 573d8e90a745de6aea2fb88995037c3f421fe805..1080267b212a4bfef961b76e914b61064d280aff 100644 (file)
@@ -153,54 +153,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 39a6c3a63f413b4f7a3957e4769f8c5299fc2064..dffe4845c2afe2715e33317199d1b17f68aa9264 100644 (file)
@@ -154,54 +154,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 10340e041ba30752bd589b7048273cd8f52cb2c9..14c0e50ee1604b07e07f733548162fa0715a28e4 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 9fc602f1625c290ddbfdfb522a9aed268ec2d701..e6fec155bee70ebac4e1b840e0ab0d3e5b3340c4 100644 (file)
@@ -151,54 +151,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 7b2b6b4288dce8f5df8db7136b9074a92e09c1df..4d4d9e92e6686d03499b9e226a61bb0c651142be 100644 (file)
@@ -149,54 +149,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)