Separate ExceptionStore.
[dcpomatic.git] / run / tests
index c561cfa99929c93cf26e0c8a017baaf9bec91aa8..49bc63142939caa39b67d4e9c36c8d48e5dc4fff 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -10,10 +10,12 @@ if [ "$1" == "--debug" ]; then
 elif [ "$1" == "--valgrind" ]; then
     shift;
     valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $*
+elif [ "$1" == "--callgrind" ]; then
+    shift;
+    valgrind --tool="callgrind" build/test/unit-tests $*
 elif [ "$1" == "--quiet" ]; then
     shift;
     build/test/unit-tests --catch_system_errors=no $*
 else
     build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*
 fi
-