diff options
author | Robert Loehning <robert.loehning@digia.com> | 2012-11-02 19:34:38 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@digia.com> | 2012-11-05 12:59:07 +0100 |
commit | 77313fd980f87d6b26f989f3f3cf958e2872fc02 (patch) | |
tree | b6b58571c99d74c261001e08e693f100638d9aef /tests/system/shared/build_utils.py | |
parent | fb61be5ed62cb8803ca3c8bb5de183507c28578d (diff) | |
download | qt-creator-77313fd980f87d6b26f989f3f3cf958e2872fc02.tar.gz |
Squish: Removed pointless explicit timeouts
Change-Id: I21e41fc8d1c26186afe0d18613c764abd065227e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/system/shared/build_utils.py')
-rw-r--r-- | tests/system/shared/build_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py index a404ba6503..370381b2be 100644 --- a/tests/system/shared/build_utils.py +++ b/tests/system/shared/build_utils.py @@ -68,7 +68,7 @@ def checkLastBuild(expectedToFail=False): test.fail("Errors: %s | Warnings: %s" % (errors, warnings)) # additional stuff - could be removed... or improved :) ensureChecked(":Qt Creator_Issues_Core::Internal::OutputPaneToggleButton") - list=waitForObject(":Qt Creator.Issues_QListView", 20000) + list=waitForObject(":Qt Creator.Issues_QListView") model = list.model() test.log("Rows inside issues: %d" % model.rowCount()) if gotErrors and createTasksFileOnError: @@ -78,7 +78,7 @@ def checkLastBuild(expectedToFail=False): # helper function to check the compilation when build wasn't successful def checkCompile(): ensureChecked(":Qt Creator_CompileOutput_Core::Internal::OutputPaneToggleButton") - output = waitForObject(":Qt Creator.Compile Output_Core::OutputWindow", 20000) + output = waitForObject(":Qt Creator.Compile Output_Core::OutputWindow") waitFor("len(str(output.plainText))>0",5000) success = str(output.plainText).endswith("exited normally.") if success: @@ -141,7 +141,7 @@ def iterateBuildConfigs(kitCount, filter = ""): configs = [] for currentKit in range(kitCount): switchToBuildOrRunSettingsFor(kitCount, currentKit, ProjectSettings.BUILD) - model = waitForObject(":scrollArea.Edit build configuration:_QComboBox", 20000).model() + model = waitForObject(":scrollArea.Edit build configuration:_QComboBox").model() prog = re.compile(filter) # for each row in the model, write its data to a list configNames = dumpItems(model) |