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/test | |
parent | d6e5e7b49e866d8605c92926b38f38f38f20e846 (diff) | |
download | coreutils-7db2ac9eafd55328f44f2876d87e6c6897f127af.tar.xz |
regenerate
Diffstat (limited to 'tests/test')
-rw-r--r-- | tests/test/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test/Makefile.am b/tests/test/Makefile.am index 7b8c11f92..1ffe2673e 100644 --- a/tests/test/Makefile.am +++ b/tests/test/Makefile.am @@ -99,14 +99,17 @@ paren-4.O paren-4.E paren-5.O paren-5.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 $@ |