diff options
author | roland <roland> | 2005-12-12 05:51:46 +0000 |
---|---|---|
committer | roland <roland> | 2005-12-12 05:51:46 +0000 |
commit | c89b8e696681cbb8372db43da4ebf458ed387b6c (patch) | |
tree | 73bb3fb7c84d576a8779a4e8d60a78a54fda6150 /runtest.sh | |
parent | ea716190e7170b76d6063af9c67bcd6ebdf5a37f (diff) | |
download | systemtap-steved-c89b8e696681cbb8372db43da4ebf458ed387b6c.tar.gz systemtap-steved-c89b8e696681cbb8372db43da4ebf458ed387b6c.tar.xz systemtap-steved-c89b8e696681cbb8372db43da4ebf458ed387b6c.zip |
2005-12-11 Roland McGrath <roland@redhat.com>
* Makefile.am (pkglibexecdir): New variable.
(AM_CPPFLAGS): Use it.
(pkglibexec_PROGRAMS): Set this instead of noinst_PROGRAMS with stpd.
(pkglibexec_SCRIPTS, CLEANFILES): New variables.
(install-exec-local): Target removed.
* runtest.sh: Set LD_LIBRARY_PATH when lib-elfutils is in use.
Diffstat (limited to 'runtest.sh')
-rwxr-xr-x | runtest.sh | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -7,12 +7,10 @@ if [ ! -d testresults ]; then fi SRCDIR=`dirname $0` -if expr "$SRCDIR" : "/.*" >/dev/null -then - true # already absolute, groovy! -else - SRCDIR="`pwd`/$SRCDIR" -fi +case "$SRCDIR" in +/*) ;; # already absolute, groovy! +*) SRCDIR="`pwd`/$SRCDIR" ;; +esac export SRCDIR SYSTEMTAP_TAPSET=$SRCDIR/tapset @@ -21,6 +19,13 @@ export SYSTEMTAP_TAPSET SYSTEMTAP_RUNTIME=$SRCDIR/runtime export SYSTEMTAP_RUNTIME +if [ -d lib-elfutils ]; then + lib_elfutils="`pwd`/lib-elfutils" + elfutils_path="${lib_elfutils}:${lib_elfutils}/systemtap" + LD_LIBRARY_PATH="${elfutils_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" + export LD_LIBRARY_PATH +fi + dn=`dirname $1` logfile=testresults/`basename $dn`-`basename $1` |