summaryrefslogtreecommitdiff
path: root/tests/system/shared/build_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/shared/build_utils.py')
-rw-r--r--tests/system/shared/build_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py
index caae5b8c70..6048482eaf 100644
--- a/tests/system/shared/build_utils.py
+++ b/tests/system/shared/build_utils.py
@@ -241,7 +241,8 @@ def verifyBuildAndRun():
# check application output log
appOutput = logApplicationOutput()
if appOutput:
- test.verify(re.search(".* exited with code \d+", str(appOutput)) and
+ test.verify((re.search(".* exited with code \d+", str(appOutput)) or
+ re.search("The program has unexpectedly finished\.", str(appOutput))) and
re.search('[Ss]tarting.*', str(appOutput)),
"Verifying if built app started and closed successfully.")