Stub player.
[dcpomatic.git] / run / tests
index d9815a449ae619ba6a55678584599908b2202ac3..1ca030ce8e8a779e67618628cfe675134cd85264 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -9,7 +9,7 @@ if [ "$1" == "--debug" ]; then
     gdb --args build/test/unit-tests --catch_system_errors=no $*
 elif [ "$1" == "--backtrace" ]; then
     shift;
-    gdb -batch -ex "run" -ex "thread apply all bt" --args build/test/unit-tests --catch_system_errors=no $*
+    gdb -batch -ex "run" -ex "thread apply all bt" -return-child-result --args build/test/unit-tests --catch_system_errors=no $*
 elif [ "$1" == "--valgrind" ]; then
     shift;
     valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $*
@@ -20,6 +20,7 @@ elif [ "$1" == "--quiet" ]; then
     shift;
     build/test/unit-tests --catch_system_errors=no $*
 else
+    ulimit -c unlimited
     build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*
 #    build/test/unit-tests --catch_system_errors=no $*
 fi