From e1f6ee8f761a4d6e82935b456915e9b496101812 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 7 Feb 2024 13:35:53 +0100 Subject: [PATCH] SquishTests: Do not wait for the BuildProgress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We always fail to retrieve it nowadays, so just remove this. Change-Id: I616e40e22ed1da2782b766701ba4b5bd742e1133 Reviewed-by: Robert Löhning Reviewed-by: Jukka Nokso --- tests/system/shared/build_utils.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py index 6a2904286a3..c26634f61db 100644 --- a/tests/system/shared/build_utils.py +++ b/tests/system/shared/build_utils.py @@ -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")