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:
Christian Stenger
2024-02-07 13:35:53 +01:00
parent c22471d316
commit e1f6ee8f76

View File

@@ -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")