From 140c267181c737bf466bbdf32c4c9f6b1fd8f45c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Fri, 16 Jul 2021 19:20:56 +0200 Subject: [PATCH] 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 --- tests/system/suite_debugger/tst_simple_analyze/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system/suite_debugger/tst_simple_analyze/test.py b/tests/system/suite_debugger/tst_simple_analyze/test.py index 69ee40d5b65..a56680086c7 100644 --- a/tests/system/suite_debugger/tst_simple_analyze/test.py +++ b/tests/system/suite_debugger/tst_simple_analyze/test.py @@ -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")