diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-22 15:55:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-22 15:55:41 +0000 |
commit | 83d003e558c2bee8ef90908d7c62e9420a5e814d (patch) | |
tree | acf5efb45c01540148cb49998ca1fc0a6545fbc8 /tests/tsort | |
parent | 9715e45a875aa8c74b4968aefa8a08a87875a3be (diff) | |
download | coreutils-83d003e558c2bee8ef90908d7c62e9420a5e814d.tar.xz |
Rewrite to use Fetish.pm-based framework.
Diffstat (limited to 'tests/tsort')
-rw-r--r-- | tests/tsort/Makefile.am | 40 |
1 files changed, 8 insertions, 32 deletions
diff --git a/tests/tsort/Makefile.am b/tests/tsort/Makefile.am index b07188d61..50626a8aa 100644 --- a/tests/tsort/Makefile.am +++ b/tests/tsort/Makefile.am @@ -1,36 +1,12 @@ ## Process this file with automake to produce Makefile.in -*-Makefile-*-. -##test-files-begin -x = tsort -explicit = -maint_gen = cycle-1.I cycle-1.X -run_gen = cycle-1.O cycle-1.E -##test-files-end +EXTRA_DIST = $(TESTS) -EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) -noinst_SCRIPTS = $x-tests +TESTS_ENVIRONMENT = \ + top_srcdir=$(top_srcdir) \ + srcdir=$(srcdir) \ + PERL="@PERL@" \ + PATH=../../src:$$PATH \ + PROG=tsort -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 $@ +TESTS = basic-1 |