summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-01-30 13:27:41 +0100
committerChristian Stenger <christian.stenger@qt.io>2020-02-03 11:33:52 +0000
commit0275e0fa6a93f26643d32ae04635499dda047c63 (patch)
tree92d37efb735a098b3f1eda6947909c587fe4494b /tests
parenteebbd1ebc8c0d075abc306e6bf3d5948d8b47fcf (diff)
downloadqt-creator-0275e0fa6a93f26643d32ae04635499dda047c63.tar.gz
Squish: Fix handling of enabling Qml Debugging
Amends 0168a42b72eaf499927b5bcba2d12aea464c41b7. Change-Id: I71c32a94fa6de4f64d03c9c73681e30496c2560d Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/shared/build_utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py
index d0ed67f172..30787224ad 100644
--- a/tests/system/shared/build_utils.py
+++ b/tests/system/shared/build_utils.py
@@ -186,9 +186,9 @@ def verifyBuildConfig(currentTarget, configName, shouldBeDebug=False, enableShad
# it will wait here until compilation of the debug libraries has finished.
if currentTarget not in (Targets.DESKTOP_4_8_7_DEFAULT, Targets.EMBEDDED_LINUX):
qmlDebuggingCombo = findObject(':Qt Creator.QML debugging and profiling:_QComboBox')
- selectFromCombo(qmlDebuggingCombo, 'Enable')
- # Don't rebuild now
- clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
+ if selectFromCombo(qmlDebuggingCombo, 'Enable'):
+ # Don't rebuild now
+ clickButton(waitForObject(":QML Debugging.No_QPushButton", 5000))
try:
problemFound = waitForObject("{window=':Qt Creator_Core::Internal::MainWindow' "
"type='QLabel' name='problemLabel' visible='1'}", 1000)