forked from qt-creator/qt-creator
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:
@@ -114,6 +114,8 @@ def __handleBuildSystem__(buildSystem):
|
||||
try:
|
||||
if buildSystem is None:
|
||||
buildSystem = str(comboObj.currentText)
|
||||
if buildSystem.startswith("CMake"):
|
||||
buildSystem = "CMake"
|
||||
test.log("Keeping default build system '%s'" % buildSystem)
|
||||
else:
|
||||
test.log("Trying to select build system '%s'" % buildSystem)
|
||||
|
Reference in New Issue
Block a user