Try adding --xml option to run/tests.
[dcpomatic.git] / run / tests
index d6a3ba15f2e4f91b63fb7078e80501875def6fb4..b243efccbc9b13893b739e74b28dffd672f20f47 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -26,6 +26,8 @@ elif [ "$1" == "--drd" ]; then
 elif [ "$1" == "--helgrind" ]; then
     shift;
     valgrind --tool="helgrind" build/test/unit-tests $*
+elif [ "$1" == "--xml" ]; then
+    build/test/unit-tests --catch_system_errors=no --log_format=XML --log_sink=results.xml --log_level=all --report_level=no --result_code=no
 else
     ulimit -c unlimited
     build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*