SquishTests: Adapt helper function

We nowadays have a couple of wizards where the build system
may end up being a specialized CMake selection.
Inside the tests we do not distinguish that deep so far, but
rely on single build system names.

Change-Id: Iacf824f526e746e466c4018592bc9cc8bdb9c1b8
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2025-04-08 12:25:31 +02:00
parent a7e5b68bed
commit 96a98fdd4d

View File

@@ -114,6 +114,8 @@ def __handleBuildSystem__(buildSystem):
try: try:
if buildSystem is None: if buildSystem is None:
buildSystem = str(comboObj.currentText) buildSystem = str(comboObj.currentText)
if buildSystem.startswith("CMake"):
buildSystem = "CMake"
test.log("Keeping default build system '%s'" % buildSystem) test.log("Keeping default build system '%s'" % buildSystem)
else: else:
test.log("Trying to select build system '%s'" % buildSystem) test.log("Trying to select build system '%s'" % buildSystem)