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/wc/Makefile.am | |
parent | d6e5e7b49e866d8605c92926b38f38f38f20e846 (diff) | |
download | coreutils-7db2ac9eafd55328f44f2876d87e6c6897f127af.tar.xz |
regenerate
Diffstat (limited to 'tests/wc/Makefile.am')
-rw-r--r-- | tests/wc/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/wc/Makefile.am b/tests/wc/Makefile.am index 5a94c4a8e..78e0ef936 100644 --- a/tests/wc/Makefile.am +++ b/tests/wc/Makefile.am @@ -13,14 +13,17 @@ c2.O c2.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 $@ |