Squish: Stabilize test for removal of break points

Change-Id: I1fdfc654e18a4cb219624b65e5d812faa479eb66
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2016-08-03 07:18:31 +02:00
parent 985e7006cc
commit c87d0d7b58

View File

@@ -111,6 +111,7 @@ def removeOldBreakpoints():
except:
test.fatal("UI seems to have changed - check manually and fix this script.")
return False
waitFor("model.rowCount() == 0", 1000)
return test.compare(model.rowCount(), 0, "Check if all breakpoints have been removed.")
# function to do simple debugging of the current (configured) project