forked from qt-creator/qt-creator
SquishTests: Remove dead code
The Qt Quick Application template doesn't allow changing the build system. skipBuildsystemChooser is True above. Change-Id: I413fa6c3b4d97e1f1212dbab96d2a39458ce3751 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -113,10 +113,7 @@ def handleBuildSystemVerifyKits(category, template, kits, displayedPlatforms,
|
|||||||
return
|
return
|
||||||
|
|
||||||
fixedBuildSystems = list(availableBuildSystems)
|
fixedBuildSystems = list(availableBuildSystems)
|
||||||
if template == 'Qt Quick Application':
|
if template == 'Qt Quick 2 Extension Plugin':
|
||||||
fixedBuildSystems.remove('qmake')
|
|
||||||
test.log("Skipped qmake (not supported).")
|
|
||||||
elif template == 'Qt Quick 2 Extension Plugin':
|
|
||||||
fixedBuildSystems.remove('Qbs')
|
fixedBuildSystems.remove('Qbs')
|
||||||
test.log("Skipped Qbs (not supported).")
|
test.log("Skipped Qbs (not supported).")
|
||||||
|
|
||||||
@@ -126,7 +123,7 @@ def handleBuildSystemVerifyKits(category, template, kits, displayedPlatforms,
|
|||||||
clickButton(waitForObject(":Next_QPushButton"))
|
clickButton(waitForObject(":Next_QPushButton"))
|
||||||
if specialHandlingFunc:
|
if specialHandlingFunc:
|
||||||
specialHandlingFunc(displayedPlatforms, *args)
|
specialHandlingFunc(displayedPlatforms, *args)
|
||||||
if not ('Plain C' in template or template == 'Qt Quick Application'):
|
if not ('Plain C' in template):
|
||||||
__createProjectHandleTranslationSelection__()
|
__createProjectHandleTranslationSelection__()
|
||||||
verifyKitCheckboxes(kits, displayedPlatforms)
|
verifyKitCheckboxes(kits, displayedPlatforms)
|
||||||
safeClickButton("Cancel")
|
safeClickButton("Cancel")
|
||||||
|
Reference in New Issue
Block a user