Files
qt-creator/tests/system/suite_APTW/tst_APTW01/test.py
Christian Stenger d301804992 SquishTests: Provide new settings for Windows
Change-Id: I9b7df60427c60f57f55fe3d163a0c5cea189150f
Reviewed-by: Jukka Nokso <jukka.nokso@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2025-02-11 06:51:17 +00:00

22 lines
937 B
Python

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
source("../../shared/qtcreator.py")
# test New Qt Gui Application build and run for release and debug option
def main():
# Start Creator with built-in code model, to avoid having
# warnings from the clang code model in "issues" view
if not startCreatorVerifyingClang(False):
return
createProject_Qt_GUI(tempDir(), "SampleApp", buildSystem="qmake")
# run project for debug and release and verify results
expectToFail = None
if platform.system() in ('Microsoft', 'Windows'):
expectToFail = [Targets.DESKTOP_5_10_1_DEFAULT] # fails to handle constexpr correctly
if os.getenv('SYSTEST_NEW_SETTINGS') != '1':
expectToFail.append(Targets.DESKTOP_5_4_1_GCC)
runVerify(expectToFail)
#close Qt Creator
invokeMenuItem("File", "Exit")