summaryrefslogtreecommitdiff
path: root/tests/system/suite_SCOM
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/suite_SCOM')
-rw-r--r--tests/system/suite_SCOM/tst_SCOM01/test.py2
-rw-r--r--tests/system/suite_SCOM/tst_SCOM05/test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/suite_SCOM/tst_SCOM01/test.py b/tests/system/suite_SCOM/tst_SCOM01/test.py
index 75b33d92d6..b279fc5525 100644
--- a/tests/system/suite_SCOM/tst_SCOM01/test.py
+++ b/tests/system/suite_SCOM/tst_SCOM01/test.py
@@ -19,7 +19,7 @@ def main():
# check output if build successful
ensureChecked(waitForObject(":Qt Creator_CompileOutput_Core::Internal::OutputPaneToggleButton"))
compileOutput = waitForObject(":Qt Creator.Compile Output_Core::OutputWindow")
- if not test.verify(str(compileOutput.plainText).endswith("exited normally."),
+ if not test.verify(compileSucceeded(compileOutput.plainText),
"Verifying building of simple qt quick application."):
test.log(compileOutput.plainText)
# exit qt creator
diff --git a/tests/system/suite_SCOM/tst_SCOM05/test.py b/tests/system/suite_SCOM/tst_SCOM05/test.py
index affea39bcd..505c9ff0c7 100644
--- a/tests/system/suite_SCOM/tst_SCOM05/test.py
+++ b/tests/system/suite_SCOM/tst_SCOM05/test.py
@@ -44,7 +44,7 @@ def main():
ensureChecked(waitForObject(":Qt Creator_CompileOutput_Core::Internal::OutputPaneToggleButton"))
outputLog = str(waitForObject(":Qt Creator.Compile Output_Core::OutputWindow").plainText)
# verify that project was built successfully
- test.verify(outputLog.endswith("exited normally."),
+ test.verify(compileSucceeded(outputLog),
"Verifying building of simple qt quick application while multiple projects are open.")
# verify that proper project (project 2) was build
test.verify(projectName2 in outputLog and projectName1 not in outputLog,