Fix the testsuite path to include libtestlaunch.so

This commit is contained in:
Josh Stone 2013-02-26 09:36:17 -08:00
parent 4d44e8495d
commit e5cc52d0a6
2 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
commit 9987bb065a6949fa6a61982b90b102052a0b71a0
commit d16d2ecb99b3b32f8d7319fec02754a2b9fc4a5b
Author: Josh Stone <jistone@redhat.com>
Date: Mon Feb 25 12:28:59 2013 -0800
Date: Tue Feb 26 09:34:52 2013 -0800
Hack the testsuite into shape for installation
@ -42,7 +42,7 @@ index 6226a35..1dd1e08 100644
config.C \
ipc.C \
diff --git a/testsuite/make.module.tmpl b/testsuite/make.module.tmpl
index fc03503..21d8da8 100644
index fc03503..38393e0 100644
--- a/testsuite/make.module.tmpl
+++ b/testsuite/make.module.tmpl
@@ -225,7 +225,7 @@ proccontrol_COMPONENT_LIB = $(LIBPROCCONTROLCOMP)
@ -62,11 +62,11 @@ index fc03503..21d8da8 100644
-LIBTESTSUITE_DEST = $(addprefix $(TEST_DEST)/,$(LIBTESTSUITE))
+TEST_DEST ?= $(LIBRARY_DEST)/testsuite
+
+ALL_TARGETS = $(LIBTESTSUITE) $(TESTLIBS)
+ALL_TARGETS = $(LIBTESTLAUNCH) $(LIBTESTSUITE) $(TESTLIBS)
+ALL_TARGETS += $(MUTATORS) $(MUTATEES_MINIMUM)
+ALL_TARGETS += $(DRIVERS) $(OUTPUT_DRIVERS) $(COMPONENTS)
+
+FULL_TARGETS = $(LIBTESTSUITE) $(TESTLIBS)
+FULL_TARGETS = $(LIBTESTLAUNCH) $(LIBTESTSUITE) $(TESTLIBS)
+FULL_TARGETS += $(MUTATORS) $(MUTATEES)
+FULL_TARGETS += $(DRIVERS) $(OUTPUT_DRIVERS) $(COMPONENTS)
+

View File

@ -2,7 +2,7 @@ Summary: An API for Run-time Code Generation
License: LGPLv2+
Name: dyninst
Group: Development/Libraries
Release: 5%{?dist}
Release: 6%{?dist}
URL: http://www.dyninst.org
Version: 8.0
Exclusiveos: linux
@ -158,6 +158,9 @@ chmod 644 %{buildroot}%{_libdir}/dyninst/testsuite/*
%attr(755,-,-) %{_libdir}/dyninst/testsuite/*
%changelog
* Tue Feb 26 2013 Josh Stone <jistone@redhat.com> 8.0-6
- Fix the testsuite path to include libtestlaunch.so
* Mon Feb 25 2013 Josh Stone <jistone@redhat.com> 8.0-5
- Add a dyninst-testsuite package.
- Patch test2_4 to protect against running as root.