summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-06 11:19:12 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-06 11:19:12 +0100
commit99088eeed952d6d476b88f93b6562be2e7bcc884 (patch)
tree5055ad23d5fdb989fc0573b900c563a34f288dc2
parent26b3d8078b1a71462bb3297d0eb3a1c95be91458 (diff)
Fix test running when LD_LIBRARY_PATH is set in the environment.
-rwxr-xr-xrun/tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/tests b/run/tests
index 09e5880..955b82f 100755
--- a/run/tests
+++ b/run/tests
@@ -2,7 +2,7 @@
private=../libsub-test-private
-export LD_LIBRARY_PATH=build/src
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:build/src
if [ "$1" == "--debug" ]; then
shift
gdb --args build/test/tests $private $*