Squish: Update tst_simple_analyze

Deal with Build menu items which all look the same now.

Task-number: QTCREATORBUG-26002
Change-Id: I120f0f0b6f0ee0451636635313cff6d7bd53706b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Löhning
2021-07-16 19:20:56 +02:00
parent 60a77e64f5
commit 140c267181

View File

@@ -64,11 +64,11 @@ def performTest(workingDir, projectName, availableConfigs):
for kit, config in availableConfigs:
# switching from MSVC to MinGW build will fail on the clean step of 'Rebuild All Projects'
# because of differences between MSVC's and MinGW's Makefile (so clean before changing kit)
invokeMenuItem('Build', 'Clean Project "%s"' % projectName)
selectFromLocator("t clean", "Clean (Clean Project)")
verifyBuildConfig(kit, config, True, True, True)
test.log("Selected kit '%s'" % Targets.getStringForTarget(kit))
# explicitly build before start debugging for adding the executable as allowed program to WinFW
invokeMenuItem("Build", "Rebuild All Projects")
selectFromLocator("t rebuild", "Rebuild (Rebuild All Projects)")
waitForCompile()
if not checkCompile():
test.fatal("Compile had errors... Skipping current build config")