diff options
author | Jim Meyering <jim@meyering.net> | 1998-11-01 00:52:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-11-01 00:52:32 +0000 |
commit | 427e67b1969551e118da7679ec4f7ca9d596f29c (patch) | |
tree | be5189f49e83a92871dd328622a8123134af4b5a /tests | |
parent | 90ffddc87e9cd8bead5bcc0015c4809316cb6b7e (diff) | |
download | coreutils-427e67b1969551e118da7679ec4f7ca9d596f29c.tar.xz |
Rewrite to use new testing framework.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/factor/Makefile.am | 49 |
1 files changed, 10 insertions, 39 deletions
diff --git a/tests/factor/Makefile.am b/tests/factor/Makefile.am index 1aeba0381..3617a2a41 100644 --- a/tests/factor/Makefile.am +++ b/tests/factor/Makefile.am @@ -1,40 +1,11 @@ ## Process this file with automake to produce Makefile.in -*-Makefile-*-. - -##test-files-begin -x = factor -explicit = -maint_gen = 1.X 1a.X 2.X 3.X 4.X a.X b.X c.X d.X e.X f.X g.X h.X i.X j.X k.X \ -l.X m.X n.X o.X p.X q.X s.X t.X u.X v.X w.X x.X y.X z.X -run_gen = 1.O 1.E 1a.O 1a.E 2.O 2.E 3.O 3.E 4.O 4.E a.O a.E b.O b.E c.O c.E \ -d.O d.E e.O e.E f.O f.E g.O g.E h.O h.E i.O i.E j.O j.E k.O k.E l.O l.E m.O \ -m.E n.O n.E o.O o.E p.O p.E q.O q.E s.O s.E t.O t.E u.O u.E v.O v.E w.O w.E \ -x.O x.E y.O y.E z.O z.E -##test-files-end - -EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) -noinst_SCRIPTS = $x-tests - -PERL = @PERL@ -editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g' - -TESTS = $x-tests - -mk_script = $(srcdir)/../mk-script -$(srcdir)/$x-tests: $(mk_script) Test.pm - $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n - mv $@.n $@ - chmod 755 $@ - -MAINTAINERCLEANFILES = $x-tests $(maint_gen) -CLEANFILES = $(run_gen) - -check: $(maint_gen) - -Makefile.am: ../Makefile.am.in Test.pm $(mk_script) - rm -f $@ $@t - sed -n '1,/^##test-files-begin/p' $< > $@t - tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ - echo "x = $$tool" >> $@t - $(PERL) -I. -w -- $(mk_script) --list >> $@t - sed -n '/^##test-files-end/,$$p' $< >> $@t - mv $@t $@ +AUTOMAKE_OPTIONS = 1.3b gnits + +TESTS = basic +EXTRA_DIST = $(TESTS) +TESTS_ENVIRONMENT = \ + top_srcdir=$(top_srcdir) \ + srcdir=$(srcdir) \ + PERL="@PERL@" \ + PATH=../../src:$$PATH \ + PROG=factor |