projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
66f66ac
)
Try a little harder to make sure we use the patched openssl for
author
Carl Hetherington
<cth@carlh.net>
Tue, 29 Sep 2020 21:17:24 +0000
(23:17 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 29 Sep 2020 21:17:24 +0000
(23:17 +0200)
unit tests.
run/tests
patch
|
blob
|
history
diff --git
a/run/tests
b/run/tests
index 97eef411f56fe5a2cf9d75b92d0190dfbaafd1f1..8b54d2b457757a174818b6cc63e112bd0cd287b5 100755
(executable)
--- a/
run/tests
+++ b/
run/tests
@@
-2,7
+2,13
@@
#
# e.g. --run_tests=foo
#
# e.g. --run_tests=foo
-export LD_LIBRARY_PATH=build/src/lib:/home/c.hetherington/lib:$LD_LIBRARY_PATH
+if [ "$(uname)" == "Linux" ]; then
+ export LD_LIBRARY_PATH=build/src/lib:/home/c.hetherington/lib:$LD_LIBRARY_PATH
+ rm -f build/test/openssl
+ # This must be our patched openssl or tests will fail
+ ln -s ../../../openssl/apps/openssl build/test/dcpomatic2_openssl
+fi
+
if [ "$1" == "--debug" ]; then
shift;
gdb --args build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*
if [ "$1" == "--debug" ]; then
shift;
gdb --args build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*