summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-07 18:01:06 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 09:38:35 +0200
commite9a328bc0e56b429a370b13c8e0b4790916cebde (patch)
tree059f3b089a8557cb4c45e3dc059b58e020e34dcb /tests/auto/corelib/global
parent5417f1e40cb647c05bffad21493feacac45f193e (diff)
CMake: Regenerate tests with new qt_ prefixed APIs
Use pro2cmake with '--api-version 2' to force regenerate projects to use the new prefixed qt_foo APIs. Change-Id: I055c4837860319e93aaa6b09d646dda4fc2a4069 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/corelib/global')
-rw-r--r--tests/auto/corelib/global/q_func_info/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qflags/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qfloat16/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qgetputenv/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qglobal/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qglobalstatic/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qhooks/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qnumeric/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/global/qrand/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qtendian/CMakeLists.txt2
11 files changed, 13 insertions, 13 deletions
diff --git a/tests/auto/corelib/global/q_func_info/CMakeLists.txt b/tests/auto/corelib/global/q_func_info/CMakeLists.txt
index 5435c97cf8..57ae4369a2 100644
--- a/tests/auto/corelib/global/q_func_info/CMakeLists.txt
+++ b/tests/auto/corelib/global/q_func_info/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_q_func_info Test:
#####################################################################
-add_qt_test(tst_q_func_info
+qt_add_test(tst_q_func_info
SOURCES
tst_q_func_info.cpp
)
diff --git a/tests/auto/corelib/global/qflags/CMakeLists.txt b/tests/auto/corelib/global/qflags/CMakeLists.txt
index f1fdb7a5f8..8ba1cb6d48 100644
--- a/tests/auto/corelib/global/qflags/CMakeLists.txt
+++ b/tests/auto/corelib/global/qflags/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qflags Test:
#####################################################################
-add_qt_test(tst_qflags
+qt_add_test(tst_qflags
SOURCES
tst_qflags.cpp
)
diff --git a/tests/auto/corelib/global/qfloat16/CMakeLists.txt b/tests/auto/corelib/global/qfloat16/CMakeLists.txt
index 36e15d8225..a9c3f2dd7f 100644
--- a/tests/auto/corelib/global/qfloat16/CMakeLists.txt
+++ b/tests/auto/corelib/global/qfloat16/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfloat16 Test:
#####################################################################
-add_qt_test(tst_qfloat16
+qt_add_test(tst_qfloat16
SOURCES
tst_qfloat16.cpp
)
diff --git a/tests/auto/corelib/global/qgetputenv/CMakeLists.txt b/tests/auto/corelib/global/qgetputenv/CMakeLists.txt
index c5f3a53810..a2cc20c378 100644
--- a/tests/auto/corelib/global/qgetputenv/CMakeLists.txt
+++ b/tests/auto/corelib/global/qgetputenv/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgetputenv Test:
#####################################################################
-add_qt_test(tst_qgetputenv
+qt_add_test(tst_qgetputenv
SOURCES
tst_qgetputenv.cpp
)
diff --git a/tests/auto/corelib/global/qglobal/CMakeLists.txt b/tests/auto/corelib/global/qglobal/CMakeLists.txt
index 1efaaa71d0..c292b65cf9 100644
--- a/tests/auto/corelib/global/qglobal/CMakeLists.txt
+++ b/tests/auto/corelib/global/qglobal/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qglobal Test:
#####################################################################
-add_qt_test(tst_qglobal
+qt_add_test(tst_qglobal
SOURCES
qglobal.c
tst_qglobal.cpp
diff --git a/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt b/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt
index 7e8eee14d3..cadc627fa7 100644
--- a/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt
+++ b/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qglobalstatic Test:
#####################################################################
-add_qt_test(tst_qglobalstatic
+qt_add_test(tst_qglobalstatic
EXCEPTIONS
SOURCES
tst_qglobalstatic.cpp
diff --git a/tests/auto/corelib/global/qhooks/CMakeLists.txt b/tests/auto/corelib/global/qhooks/CMakeLists.txt
index c86faba75f..0aaefaf96e 100644
--- a/tests/auto/corelib/global/qhooks/CMakeLists.txt
+++ b/tests/auto/corelib/global/qhooks/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qhooks Test:
#####################################################################
-add_qt_test(tst_qhooks
+qt_add_test(tst_qhooks
SOURCES
tst_qhooks.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/global/qnumeric/CMakeLists.txt b/tests/auto/corelib/global/qnumeric/CMakeLists.txt
index 8a857c5622..7ca7b92f70 100644
--- a/tests/auto/corelib/global/qnumeric/CMakeLists.txt
+++ b/tests/auto/corelib/global/qnumeric/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qnumeric Test:
#####################################################################
-add_qt_test(tst_qnumeric
+qt_add_test(tst_qnumeric
SOURCES
tst_qnumeric.cpp
PUBLIC_LIBRARIES
@@ -14,13 +14,13 @@ add_qt_test(tst_qnumeric
## Scopes:
#####################################################################
-extend_target(tst_qnumeric CONDITION ICC
+qt_extend_target(tst_qnumeric CONDITION ICC
COMPILE_OPTIONS
-fp-model
strict
)
-extend_target(tst_qnumeric CONDITION intel_icl
+qt_extend_target(tst_qnumeric CONDITION intel_icl
COMPILE_OPTIONS
/fp:strict
)
diff --git a/tests/auto/corelib/global/qrand/CMakeLists.txt b/tests/auto/corelib/global/qrand/CMakeLists.txt
index 80e8132809..8b1fabfeb8 100644
--- a/tests/auto/corelib/global/qrand/CMakeLists.txt
+++ b/tests/auto/corelib/global/qrand/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrand Test:
#####################################################################
-add_qt_test(tst_qrand
+qt_add_test(tst_qrand
SOURCES
tst_qrand.cpp
)
diff --git a/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt b/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt
index edd2efe760..4e162e8fa4 100644
--- a/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt
+++ b/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrandomgenerator Test:
#####################################################################
-add_qt_test(tst_qrandomgenerator
+qt_add_test(tst_qrandomgenerator
SOURCES
tst_qrandomgenerator.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/global/qtendian/CMakeLists.txt b/tests/auto/corelib/global/qtendian/CMakeLists.txt
index 9efb17712e..77c3c433cd 100644
--- a/tests/auto/corelib/global/qtendian/CMakeLists.txt
+++ b/tests/auto/corelib/global/qtendian/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtendian Test:
#####################################################################
-add_qt_test(tst_qtendian
+qt_add_test(tst_qtendian
SOURCES
tst_qtendian.cpp
PUBLIC_LIBRARIES