Use test_suite log level with --debug so we can see when tests take
authorCarl Hetherington <cth@carlh.net>
Mon, 18 May 2020 19:54:55 +0000 (21:54 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 20 May 2020 19:56:28 +0000 (21:56 +0200)
long enough to time-out Jenkins.

run/tests

index 13aa1f6..d6a3ba1 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -6,7 +6,7 @@ export LD_LIBRARY_PATH=build/src/lib:/home/c.hetherington/lib:$LD_LIBRARY_PATH
 export DCPOMATIC_LINUX_SHARE_PREFIX=`pwd`
 if [ "$1" == "--debug" ]; then
     shift;
-    gdb --args build/test/unit-tests --catch_system_errors=no $*
+    gdb --args build/test/unit-tests --catch_system_errors=no --log-level=test_suite $*
 elif [ "$1" == "--backtrace" ]; then
     shift;
     gdb -batch -ex "run" -ex "thread apply all bt" -return-child-result --args build/test/unit-tests --catch_system_errors=yes $*