diff options
author | Jim Meyering <jim@meyering.net> | 1998-10-04 02:51:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-10-04 02:51:30 +0000 |
commit | 3d58b592ed23e372b16887cba523a84faf99ef86 (patch) | |
tree | 46014f804803e80491db5fb92b999f4365559152 /tests/md5sum | |
parent | 71aa0114bbf598131087a6f64526ec15242a4aa1 (diff) | |
download | coreutils-3d58b592ed23e372b16887cba523a84faf99ef86.tar.xz |
rewrite for Fetish.pm
Diffstat (limited to 'tests/md5sum')
-rw-r--r-- | tests/md5sum/Makefile.am | 40 |
1 files changed, 8 insertions, 32 deletions
diff --git a/tests/md5sum/Makefile.am b/tests/md5sum/Makefile.am index 0ae2aaa6d..0d1dfe7e2 100644 --- a/tests/md5sum/Makefile.am +++ b/tests/md5sum/Makefile.am @@ -1,36 +1,12 @@ ## Process this file with automake to produce Makefile.in -*-Makefile-*-. -##test-files-begin -x = md5sum -explicit = -maint_gen = 1.I 1.X 2.I 2.X 3.I 3.X 4.I 4.X 5.I 5.X 6.I 6.X 7.I 7.X -run_gen = 1.O 1.E 2.O 2.E 3.O 3.E 4.O 4.E 5.O 5.E 6.O 6.E 7.O 7.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=md5sum -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 |