diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-12 17:05:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-21 23:50:03 +0200 |
| commit | 6cab56ab466e821d336998cdb6769c864214e1aa (patch) | |
| tree | e28b21ed644f40545eb8de78cabf8ee63faee0fd /run/tests | |
| parent | d84cfe7de28070ea31c9a1c0bd7872ac4be4b773 (diff) | |
Move tests that only need src/lib into test/lib.
Diffstat (limited to 'run/tests')
| -rwxr-xr-x | run/tests | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -62,8 +62,8 @@ if [ "$(uname)" == "Linux" ]; then cp -r ../libdcp/xsd build/test cp ../libdcp/ratings build/test # This must be our patched openssl or tests will fail - if [ ! -f build/test/dcpomatic2_openssl ]; then - ln -s ../../../openssl/apps/openssl build/test/dcpomatic2_openssl + if [ ! -f build/test/lib/dcpomatic2_openssl ]; then + ln -s ../../../../openssl/apps/openssl build/test/lib/dcpomatic2_openssl fi export DCPOMATIC_TEST_TOOLS_PATH=/opt/asdcplib/bin if [ -f /src/backports/dcp_inspect ]; then @@ -107,7 +107,7 @@ if [ "$check" == "1" ]; then fi if [ "$type" == "debug" ]; then - gdb --args build/test/unit-tests --catch_system_errors=no --log_level=test_suite $* + gdb --args build/test/lib/unit-tests --catch_system_errors=no --log_level=test_suite $* elif [ "$type" == "backtrace" ]; then gdb -batch -ex "run" -ex "thread apply all bt" -return-child-result --args build/test/unit-tests --catch_system_errors=yes $* elif [ "$type" == "valgrind" ]; then @@ -123,5 +123,5 @@ elif [ "$type" == "helgrind" ]; then valgrind --tool="helgrind" build/test/unit-tests $* else ulimit -c unlimited - build/test/unit-tests --catch_system_errors=no $* + build/test/lib/unit-tests --catch_system_errors=no $* fi |
