Commit 6571e017 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Only log compile if failed or debug mode



Change-Id: I266fb9b7796d810c98e642d3c7a3f682eb05bf6b
Reviewed-by: default avatarBill King <bill.king@nokia.com>
parent 2bc5c81a
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment