summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread/qatomicinteger/ulong
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/thread/qatomicinteger/ulong')
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt11
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/ulong/ulong.pro1
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt
index eba2944e44..7707bd53b5 100644
--- a/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt
@@ -1,10 +1,17 @@
-# Generated from ulong.pro.
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_qatomicinteger_ulong Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_ulong
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(tst_qatomicinteger_ulong LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
+qt_internal_add_test(tst_qatomicinteger_ulong
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/ulong/ulong.pro b/tests/auto/corelib/thread/qatomicinteger/ulong/ulong.pro
deleted file mode 100644
index 1e97d5cbae..0000000000
--- a/tests/auto/corelib/thread/qatomicinteger/ulong/ulong.pro
+++ /dev/null
@@ -1 +0,0 @@
-include(../qatomicinteger.pri)