summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-19 23:20:21 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-19 23:20:21 +0100
commit5070f4bc54786ec46cefc2943c62a550ff448ec7 (patch)
tree1d844c858869afaf5aa4c12292d8dfc4da5f4cb6
parent834f01404f2243d8e096a8f17af31bd9b21a77da (diff)
Set up LD_LIBRARY_PATH properly.
-rwxr-xr-xrun-tests.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 701b25d6..f9ef16f9 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -7,9 +7,8 @@
# if anything is different.
#
-LD_LIBRARY_PATH=build/src:build/asdcplib/src
-build/test/tests
-diff -ur build/test/foo test/ref/DCP
+LD_LIBRARY_PATH=build/src:build/asdcplib/src build/test/tests
+diff -ur test/ref/DCP build/test/foo
if [ "$?" != "0" ]; then
echo "FAIL: files differ"
exit 1