diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py index eda61934064..131e6ed556c 100644 --- a/tests/system/shared/build_utils.py +++ b/tests/system/shared/build_utils.py @@ -89,7 +89,10 @@ def checkCompile(): waitFor("len(str(output.plainText))>0",5000) success = str(output.plainText).endswith("exited normally.") if success: - test.log("Compile Output:\n%s" % output.plainText) + if os.getenv("SYSTEST_DEBUG") == "1": + test.log("Compile Output:\n%s" % output.plainText) + else: + test.passes("Compile successful") else: test.fail("Compile Output:\n%s" % output.plainText) return success