From e2b33d8df0a6dd54938aa2d26b3dc742ad581617 Mon Sep 17 00:00:00 2001 From: dsmith Date: Tue, 20 Feb 2007 15:37:50 +0000 Subject: 2007-02-19 David Smith PR 4081 * Makefile.am: The symbolic link that the Makefile creates to stap now points to the installed version of stap when "make installcheck" is run. * Makefile.in: Regenerated. --- testsuite/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testsuite/Makefile.am') diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index a4f9f7a7..57a2bf21 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -3,10 +3,11 @@ AUTOMAKE_OPTIONS = dejagnu +STAP_TESTDIR = .. # The stap symlink is to enable "#! stap" test scripts. all-local: - @ln -sf ../stap . + @ln -sf $(STAP_TESTDIR)/stap . clean-local: @rm -f ./stap site.exp systemtap.sum systemtap.log @@ -16,4 +17,4 @@ check-local: installcheck-local: clean site.exp echo "set prefix $(DESTDIR)$(prefix)" >> site.exp - $(MAKE) AM_RUNTESTFLAGS="--tool_opts install" check + $(MAKE) AM_RUNTESTFLAGS="--tool_opts install" STAP_TESTDIR=$(DESTDIR)$(bindir) check -- cgit