summaryrefslogtreecommitdiff
path: root/tests/system/suite_CSUP/tst_CSUP04/test.py
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2013-02-22 14:31:39 +0100
committerChristian Stenger <christian.stenger@digia.com>2013-02-22 16:52:13 +0100
commit86d3e075ffd552f58a000bd32a4ca103acf709a8 (patch)
tree1bbe08beef53f1d0ac62f021128866f2fcfbb358 /tests/system/suite_CSUP/tst_CSUP04/test.py
parent5ceeddf2b8d5a1a4d2438d5eed9320b8c1ced3c2 (diff)
downloadqt-creator-86d3e075ffd552f58a000bd32a4ca103acf709a8.tar.gz
Squish: catch plugin loader error if it occurs
...and stop execution of the current test case Change-Id: I46ac21e79f643f6890b7303d08c204dcd9fa9386 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Diffstat (limited to 'tests/system/suite_CSUP/tst_CSUP04/test.py')
-rw-r--r--tests/system/suite_CSUP/tst_CSUP04/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/system/suite_CSUP/tst_CSUP04/test.py b/tests/system/suite_CSUP/tst_CSUP04/test.py
index e60c2ba362..405c595518 100644
--- a/tests/system/suite_CSUP/tst_CSUP04/test.py
+++ b/tests/system/suite_CSUP/tst_CSUP04/test.py
@@ -13,6 +13,8 @@ def main():
templateDir = prepareTemplate(sourceExample)
examplePath = os.path.join(templateDir, proFile)
startApplication("qtcreator" + SettingsPath)
+ if not startedWithoutPluginError():
+ return
# open example project
openQmakeProject(examplePath)
installLazySignalHandler("{type='Core::FutureProgress' unnamed='1'}", "finished()", "__handleFutureProgress__")