diff --git a/tests/system/suite_APTW/shared/aptw.py b/tests/system/suite_APTW/shared/aptw.py
index 447401fe4237dda68dbfad0cbfde93c878aefad9..44d42cab66abfb276682f7a83d8b5f0159f96e22 100755
--- a/tests/system/suite_APTW/shared/aptw.py
+++ b/tests/system/suite_APTW/shared/aptw.py
@@ -9,7 +9,7 @@ def verifyBuildAndRun():
     # check application output log
     appOutput = logApplicationOutput()
     if appOutput:
-        test.verify(re.search(".*([Pp]rogram).*(unexpectedly).*([Ff]inished).*", str(appOutput)) and
+        test.verify(re.search(".* exited with code \d+", str(appOutput)) and
                     re.search('[Ss]tarting.*', str(appOutput)),
                     "Verifying if built app started and closed successfully.")