diff options
Diffstat (limited to 'tests/tac/Makefile.in')
-rw-r--r-- | tests/tac/Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/tac/Makefile.in b/tests/tac/Makefile.in index 7af657e3a..44451a714 100644 --- a/tests/tac/Makefile.in +++ b/tests/tac/Makefile.in @@ -282,6 +282,9 @@ opt-br.O opt-br.E opt-br2.O opt-br2.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 @@ -513,8 +516,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 $@ |