diff options
author | Christian Stenger <christian.stenger@digia.com> | 2014-01-23 16:29:05 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@digia.com> | 2014-01-28 12:22:38 +0100 |
commit | 8087db30a3e651f5c529a3a2ba8bb32a5cde74c9 (patch) | |
tree | 5cb9cae61f62c9a253c1d96c7e48381a955bfbe3 /tests/system/suite_debugger/tst_build_new_project | |
parent | f3a7b23caa456d7a803d43ac508792bf12fb1fa9 (diff) |
Squish: Do not invoke Exit on AUT inside helper functions
Quitting the AUT should always be reserved for the main function
of a test case.
Change-Id: I1a90e7c1e327cde37280e9d3130b30216798382c
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Diffstat (limited to 'tests/system/suite_debugger/tst_build_new_project')
-rw-r--r-- | tests/system/suite_debugger/tst_build_new_project/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/suite_debugger/tst_build_new_project/test.py b/tests/system/suite_debugger/tst_build_new_project/test.py index 8cded60096..22a669d73b 100644 --- a/tests/system/suite_debugger/tst_build_new_project/test.py +++ b/tests/system/suite_debugger/tst_build_new_project/test.py @@ -42,6 +42,6 @@ def main(): for kit, config in availableConfigs: selectBuildConfig(len(checkedTargets), kit, config) test.log("Testing build configuration: " + config) - if not runAndCloseApp(): - return + if runAndCloseApp() == None: + checkCompile() invokeMenuItem("File", "Exit") |