diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-31 12:18:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-31 12:18:24 +0000 |
commit | 7db2ac9eafd55328f44f2876d87e6c6897f127af (patch) | |
tree | 9bb6e1299e4f65d9ed952470aaaa0b789a84b97c /tests/uniq | |
parent | d6e5e7b49e866d8605c92926b38f38f38f20e846 (diff) | |
download | coreutils-7db2ac9eafd55328f44f2876d87e6c6897f127af.tar.xz |
regenerate
Diffstat (limited to 'tests/uniq')
-rw-r--r-- | tests/uniq/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/uniq/Makefile.am b/tests/uniq/Makefile.am index 14e803aed..c0d84b6eb 100644 --- a/tests/uniq/Makefile.am +++ b/tests/uniq/Makefile.am @@ -25,14 +25,17 @@ obs45.E 50.O 50.E 51.O 51.E 52.O 52.E 53.O 53.E 54.O 54.E 55.O 55.E 56.O 56.E \ EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) noinst_SCRIPTS = $x-tests +TESTS_ENVIRONMENT = \ + PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" 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$(srcdir) -w -- $(mk_script) $(srcdir) ../../src/$x > $@.n +$(srcdir)/$x-tests: $(mk_script) Test.pm Makefile.am + test '$x' = test && prog=../../src/$x || prog=$x; \ + $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) $$prog > $@.n mv $@.n $@ chmod 755 $@ |