diff options
author | Jim Meyering <jim@meyering.net> | 1999-04-19 02:42:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-04-19 02:42:58 +0000 |
commit | 560d7d9daccc4b1133574b380f757c826fc026c2 (patch) | |
tree | a3b130ba284f2f531ec22bbfb17381a0f6a2e7ec /tests/tac | |
parent | e7a7a48ee622e57d66c9fc537d062404d1d7656f (diff) | |
download | coreutils-560d7d9daccc4b1133574b380f757c826fc026c2.tar.xz |
.
Diffstat (limited to 'tests/tac')
-rw-r--r-- | tests/tac/Makefile.in | 70 |
1 files changed, 55 insertions, 15 deletions
diff --git a/tests/tac/Makefile.in b/tests/tac/Makefile.in index 4c6caac4b..6dc48b505 100644 --- a/tests/tac/Makefile.in +++ b/tests/tac/Makefile.in @@ -57,6 +57,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +AMTARFLAGS = @AMTARFLAGS@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -83,6 +84,7 @@ POFILES = @POFILES@ POSUB = @POSUB@ POW_LIBM = @POW_LIBM@ RANLIB = @RANLIB@ +TAR = @TAR@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ @@ -92,9 +94,21 @@ l = @l@ x = tac explicit = -maint_gen = basic-0.I basic-0.X basic-a.I basic-a.X basic-b.I basic-b.X basic-c.I basic-c.X basic-d.I basic-d.X basic-e.I basic-e.X basic-f.I basic-f.X basic-g.I basic-g.X basic-h.I basic-h.X basic-i.I basic-i.X basic-j.I basic-j.X basic-k.I basic-k.X b2-e.I b2-e.X b2-f.I b2-f.X b2-g.I b2-g.X b2-h.I b2-h.X b2-i.I b2-i.X b2-j.I b2-j.X b2-k.I b2-k.X opt-b.I opt-b.X opt-s.I opt-s.X opt-sb.I opt-sb.X opt-r.I opt-r.X opt-r2.I opt-r2.X opt-br.I opt-br.X opt-br2.I opt-br2.X - -run_gen = basic-0.O basic-0.E basic-a.O basic-a.E basic-b.O basic-b.E basic-c.O basic-c.E basic-d.O basic-d.E basic-e.O basic-e.E basic-f.O basic-f.E basic-g.O basic-g.E basic-h.O basic-h.E basic-i.O basic-i.E basic-j.O basic-j.E basic-k.O basic-k.E b2-e.O b2-e.E b2-f.O b2-f.E b2-g.O b2-g.E b2-h.O b2-h.E b2-i.O b2-i.E b2-j.O b2-j.E b2-k.O b2-k.E opt-b.O opt-b.E opt-s.O opt-s.E opt-sb.O opt-sb.E opt-r.O opt-r.E opt-r2.O opt-r2.E opt-br.O opt-br.E opt-br2.O opt-br2.E +maint_gen = basic-0.I basic-0.X basic-a.I basic-a.X basic-b.I basic-b.X \ +basic-c.I basic-c.X basic-d.I basic-d.X basic-e.I basic-e.X basic-f.I \ +basic-f.X basic-g.I basic-g.X basic-h.I basic-h.X basic-i.I basic-i.X \ +basic-j.I basic-j.X basic-k.I basic-k.X b2-e.I b2-e.X b2-f.I b2-f.X b2-g.I \ +b2-g.X b2-h.I b2-h.X b2-i.I b2-i.X b2-j.I b2-j.X b2-k.I b2-k.X opt-b.I \ +opt-b.X opt-s.I opt-s.X opt-sb.I opt-sb.X opt-r.I opt-r.X opt-r2.I opt-r2.X \ +opt-br.I opt-br.X opt-br2.I opt-br2.X + +run_gen = basic-0.O basic-0.E basic-a.O basic-a.E basic-b.O basic-b.E \ +basic-c.O basic-c.E basic-d.O basic-d.E basic-e.O basic-e.E basic-f.O \ +basic-f.E basic-g.O basic-g.E basic-h.O basic-h.E basic-i.O basic-i.E \ +basic-j.O basic-j.E basic-k.O basic-k.E b2-e.O b2-e.E b2-f.O b2-f.E b2-g.O \ +b2-g.E b2-h.O b2-h.E b2-i.O b2-i.E b2-j.O b2-j.E b2-k.O b2-k.E opt-b.O \ +opt-b.E opt-s.O opt-s.E opt-sb.O opt-sb.E opt-r.O opt-r.E opt-r2.O opt-r2.E \ +opt-br.O opt-br.E opt-br2.O opt-br2.E EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) @@ -114,12 +128,12 @@ CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = SCRIPTS = $(noinst_SCRIPTS) +DIST_SOURCES = DIST_COMMON = Makefile.am Makefile.in -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar GZIP_ENV = --best all: all-redirect .SUFFIXES: @@ -155,24 +169,50 @@ distdir: $(DISTFILES) fi; \ done check-TESTS: $(TESTS) - @failed=0; all=0; \ + @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ for tst in $(TESTS); do \ - if test -f $$tst; then dir=.; \ - else dir="$(srcdir)"; fi; \ - if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \ + 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`; \ - echo "PASS: $$tst"; \ + 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`; \ - failed=`expr $$failed + 1`; \ - echo "FAIL: $$tst"; \ + 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 \ - banner="All $$all tests passed"; \ + 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 failed"; \ + 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; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ @@ -238,7 +278,7 @@ maintainer-clean: maintainer-clean-am .PHONY: tags distdir check-TESTS info-am info dvi-am dvi check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ +all-redirect all-am all install-strip installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean |