forked from qt-creator/qt-creator
SquishTests: Do not wait for the BuildProgress
We always fail to retrieve it nowadays, so just remove this. Change-Id: I616e40e22ed1da2782b766701ba4b5bd742e1133 Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Jukka Nokso <jukka.nokso@qt.io>
This commit is contained in:
@@ -40,12 +40,6 @@ def getBuildIssues(ignoreCodeModel=True):
|
||||
# lines within the Issues output
|
||||
# param expectedToFail can be used to tell this function if the build was expected to fail or not
|
||||
def checkLastBuild(expectedToFail=False):
|
||||
try:
|
||||
# can't use waitForObject() 'cause visible is always 0
|
||||
findObject("{type='ProjectExplorer::Internal::BuildProgress' unnamed='1' }")
|
||||
except LookupError:
|
||||
test.log("checkLastBuild called without a build")
|
||||
return
|
||||
buildIssues = getBuildIssues()
|
||||
types = [i[1] for i in buildIssues]
|
||||
errors = types.count("1")
|
||||
|
Reference in New Issue
Block a user