CMake: Make a few more auto tests standalone
Pick-to: 6.7 Change-Id: I80988114bd906447a2ab712d5432a489e095a5c1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
2cf66d49ef
commit
fb69efb9c9
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2023 The Qt Company Ltd.
|
# Copyright (C) 2023 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcomparehelpers LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qcomparehelpers
|
qt_internal_add_test(tst_qcomparehelpers
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qcomparehelpers.h tst_qcomparehelpers.cpp tst_qcomparehelpers1.cpp
|
tst_qcomparehelpers.h tst_qcomparehelpers.cpp tst_qcomparehelpers1.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2023 The Qt Company Ltd.
|
# Copyright (C) 2023 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qspan LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qspan
|
qt_internal_add_test(tst_qspan
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qspan.cpp
|
tst_qspan.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2023 The Qt Company Ltd.
|
# Copyright (C) 2023 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qhttpheaders LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qhttpheaders
|
qt_internal_add_test(tst_qhttpheaders
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qhttpheaders.cpp
|
tst_qhttpheaders.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2023 The Qt Company Ltd.
|
# Copyright (C) 2023 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qnetworkrequestfactory LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qnetworkrequestfactory
|
qt_internal_add_test(tst_qnetworkrequestfactory
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qnetworkrequestfactory.cpp
|
tst_qnetworkrequestfactory.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2023 The Qt Company Ltd.
|
# Copyright (C) 2023 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qrestaccessmanager LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qrestaccessmanager
|
qt_internal_add_test(tst_qrestaccessmanager
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qrestaccessmanager.cpp
|
tst_qrestaccessmanager.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlfield Test:
|
## tst_qsqlfield Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qvfssql LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qvfssql
|
qt_internal_add_test(tst_qvfssql
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qvfssql.cpp
|
tst_qvfssql.cpp
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(tst_qwasmwindow_harness LANGUAGES CXX)
|
project(tst_qwasmwindow_harness LANGUAGES CXX)
|
||||||
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST Core Gui Test)
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qwasmwindow_harness
|
qt_internal_add_test(tst_qwasmwindow_harness
|
||||||
|
Loading…
x
Reference in New Issue
Block a user