From 1b8b446a794ac4babfd687ca48de32e5f4aaa539 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 16 Nov 2005 01:33:38 +0000 Subject: 2005-11-15 Roland McGrath * configure.ac: Add --enable-tests-rpath option. tests/ 2005-11-15 Roland McGrath * Makefile.am (BUILD_RPATH): New variable. [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value. (tests_rpath): New variable. (installcheck-local): Pass it to test-wrapper.sh. * test-wrapper.sh: In "installed" format, take yes/no value for elfutils_tests_rpath, which export. When running a test binary for installcheck, exit 77. * test-subr.sh (installed_testrun): When running a test binary for installcheck, exit 77 if $elfutils_tests_rpath = yes. --- tests/run-ecp-test.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/run-ecp-test.sh') diff --git a/tests/run-ecp-test.sh b/tests/run-ecp-test.sh index c21bb6ca..aee8b9c5 100755 --- a/tests/run-ecp-test.sh +++ b/tests/run-ecp-test.sh @@ -11,15 +11,13 @@ # License version 1.0 from http://www.opensource.org/licenses/osl.php or # by writing the Open Source Initiative c/o Lawrence Rosen, Esq., # 3001 King Ranch Road, Ukiah, CA 95482. -set -e +. $srcdir/test-subr.sh -# Don't fail if we cannot decompress the file. -bunzip2 -c $srcdir/testfile10.bz2 > testfile10 2>/dev/null || exit 77 +testfiles testfile10 +tempfiles testfile10.tmp -./ecp testfile10 testfile10.tmp +testrun ./ecp testfile10 testfile10.tmp cmp testfile10 testfile10.tmp -rm -f testfile10 testfile10.tmp - exit 0 -- cgit v1.2.1