Allow running tests from trees made with cdist.
authorCarl Hetherington <cth@carlh.net>
Mon, 20 May 2024 13:21:24 +0000 (15:21 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 May 2024 07:38:03 +0000 (09:38 +0200)
run/tests

index 5818d70e3a84ca9837d3ab51f7c9965c9ffe675b..5f356add3dfd77f7d0bc267685924ffe68453240 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -53,7 +53,7 @@ while [[ $# -gt 0 ]]; do
 done
 
 if [ "$(uname)" == "Linux" ]; then 
-  export LD_LIBRARY_PATH=build/src/lib:/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH
+  export LD_LIBRARY_PATH=build/src/lib:../../lib:/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH
   rm -f build/test/dcpomatic2_openssl
   # This must be our patched openssl or tests will fail
   if [ ! -f build/test/dcpomatic2_openssl ]; then