diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-31 12:20:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-31 12:20:01 +0000 |
commit | 778326c2e675d90fbfc23d65aa747c188e713318 (patch) | |
tree | fba77b0eac0817acd3fe5a1c38276fd9497a7893 /tests/uniq | |
parent | e1592155421db317b9beb092a52289c033b3d214 (diff) | |
download | coreutils-778326c2e675d90fbfc23d65aa747c188e713318.tar.xz |
.
Diffstat (limited to 'tests/uniq')
-rw-r--r-- | tests/uniq/Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/uniq/Makefile.in b/tests/uniq/Makefile.in index b8c66db67..9c2a4403f 100644 --- a/tests/uniq/Makefile.in +++ b/tests/uniq/Makefile.in @@ -286,6 +286,9 @@ 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 @@ -517,8 +520,9 @@ uninstall-am: uninstall-info-am mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-info-am -$(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 $@ |