Only use --log_level=test_suite when running from cscript.
authorCarl Hetherington <cth@carlh.net>
Sun, 4 Sep 2022 19:25:33 +0000 (21:25 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 5 Sep 2022 21:52:03 +0000 (23:52 +0200)
cscript
run/tests

diff --git a/cscript b/cscript
index 0182feeca468443d8efe7370d15054e1c826e96f..2fe7313296af7ba6454db8fb63f2f99370de38db 100644 (file)
--- a/cscript
+++ b/cscript
@@ -831,7 +831,7 @@ def test(target, options, test):
     if target.platform == 'windows':
         cmd = 'run\\tests '
     else:
-        cmd = 'run/tests '
+        cmd = 'run/tests --log_level=test_suite '
     if target.debug:
         cmd += '--backtrace '
     if test is not None:
index 1dfd64f4ad98b443e83ca2ca00e84d704afede2c..301a5df71e699731ab1aa8772f9a5b8156d18968 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -51,6 +51,5 @@ elif [ "$1" == "--helgrind" ]; then
     valgrind --tool="helgrind" build/test/unit-tests $*
 else
     ulimit -c unlimited
-    build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*
-#    build/test/unit-tests --catch_system_errors=no $*
+    build/test/unit-tests --catch_system_errors=no $*
 fi