diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py index eda619340649460d076af43a2fe649f04b2b464f..131e6ed556c10002b2b1aef8c43a2d25ec43fca8 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