summaryrefslogtreecommitdiffstats
path: root/testsuite/Makefile.am
diff options
context:
space:
mode:
authordsmith <dsmith>2007-02-20 15:37:50 +0000
committerdsmith <dsmith>2007-02-20 15:37:50 +0000
commite2b33d8df0a6dd54938aa2d26b3dc742ad581617 (patch)
treedd82e23d29d641c47f0b5b29a41ae079299d5ca3 /testsuite/Makefile.am
parentda539bc8495c12265c1e36c02080517c9e2abf7e (diff)
downloadsystemtap-steved-e2b33d8df0a6dd54938aa2d26b3dc742ad581617.tar.gz
systemtap-steved-e2b33d8df0a6dd54938aa2d26b3dc742ad581617.tar.xz
systemtap-steved-e2b33d8df0a6dd54938aa2d26b3dc742ad581617.zip
2007-02-19 David Smith <dsmith@redhat.com>
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.
Diffstat (limited to 'testsuite/Makefile.am')
-rw-r--r--testsuite/Makefile.am5
1 files changed, 3 insertions, 2 deletions
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