summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--testsuite/ChangeLog8
-rw-r--r--testsuite/Makefile.am5
-rw-r--r--testsuite/Makefile.in6
3 files changed, 15 insertions, 4 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 183998ae..63452c6c 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2007-02-16 David Smith <dsmith@redhat.com>
* systemtap.base/alternatives.exp: New test case.
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
diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in
index b42ab5f9..4fb96356 100644
--- a/testsuite/Makefile.in
+++ b/testsuite/Makefile.in
@@ -107,6 +107,7 @@ PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PROCFLAGS = @PROCFLAGS@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@@ -149,6 +150,7 @@ stap_LIBS = @stap_LIBS@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
AUTOMAKE_OPTIONS = dejagnu
+STAP_TESTDIR = ..
all: all-am
.SUFFIXES:
@@ -334,7 +336,7 @@ uninstall-am: uninstall-info-am
# 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
@@ -344,7 +346,7 @@ 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
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: