forked from qt-creator/qt-creator
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user