summaryrefslogtreecommitdiff
path: root/tests/system/shared/build_utils.py
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2011-12-08 18:45:31 +0100
committerChristian Stenger <christian.stenger@nokia.com>2011-12-12 09:24:45 +0100
commitd229705d7b387f438c511207b1abd4912432b633 (patch)
tree809898b8f5211d92e62ec6e54cbf20b4b2eb2628 /tests/system/shared/build_utils.py
parentbcf5da48ad8b79255f381755cfe105845767a681 (diff)
downloadqt-creator-d229705d7b387f438c511207b1abd4912432b633.tar.gz
Squish: Checking if the right build configuration is set
Change-Id: Ib889d1d8269a8c58edc12b688360b94a0b4bdedf Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Diffstat (limited to 'tests/system/shared/build_utils.py')
-rw-r--r--tests/system/shared/build_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py
index 31421ca66f..eda6193406 100644
--- a/tests/system/shared/build_utils.py
+++ b/tests/system/shared/build_utils.py
@@ -87,7 +87,7 @@ def checkCompile():
output = waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1' windowTitle='Compile Output'"
" window=':Qt Creator_Core::Internal::MainWindow'}", 20000)
waitFor("len(str(output.plainText))>0",5000)
- success = str(output.plainText).lower().find("error")==-1
+ success = str(output.plainText).endswith("exited normally.")
if success:
test.log("Compile Output:\n%s" % output.plainText)
else: