summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2023-01-19 18:14:48 +0100
committerAmir Masoud Abdol <amirmasoudabdol@icloud.com>2023-01-20 20:41:07 +0100
commite90cf7f7511964d8151eef284a7b879dd5c72551 (patch)
tree8a586c26692cc82ba6c06668c6021341b6d6c40f /tests
parent8c1a52d8a976e7da642a592fc0624ed25e66f766 (diff)
Fix the broken test after the retirement of qt_parse_all_arguments
As we are now processing the arguments with cmake_parse_arguments(PARSE_ARGV, we don't need to pass the escape characters anymore. Task-number: QTBUG-99238 Change-Id: I55ef7d28f78587eef2f0955bfc8e3364c964f7aa Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/benchmarks/CMakeLists.txt2
-rw-r--r--tests/auto/modelreplica/CMakeLists.txt2
-rw-r--r--tests/auto/qml/usertypes/CMakeLists.txt4
-rw-r--r--tests/auto/subclassreplica/CMakeLists.txt2
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/benchmarks/CMakeLists.txt b/tests/auto/benchmarks/CMakeLists.txt
index 7184d0c..7eb5a0a 100644
--- a/tests/auto/benchmarks/CMakeLists.txt
+++ b/tests/auto/benchmarks/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_benchmarkstest
SOURCES
tst_benchmarkstest.cpp
DEFINES
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/"
LIBRARIES
Qt::Network
Qt::RemoteObjects
diff --git a/tests/auto/modelreplica/CMakeLists.txt b/tests/auto/modelreplica/CMakeLists.txt
index d95933f..e291431 100644
--- a/tests/auto/modelreplica/CMakeLists.txt
+++ b/tests/auto/modelreplica/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_modelreplicatest
SOURCES
tst_modelreplicatest.cpp
DEFINES
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/"
LIBRARIES
Qt::RemoteObjects
)
diff --git a/tests/auto/qml/usertypes/CMakeLists.txt b/tests/auto/qml/usertypes/CMakeLists.txt
index c9e2114..1e62a74 100644
--- a/tests/auto/qml/usertypes/CMakeLists.txt
+++ b/tests/auto/qml/usertypes/CMakeLists.txt
@@ -26,12 +26,12 @@ qt6_add_repc_merged(tst_usertypes
qt_internal_extend_target(tst_usertypes CONDITION ANDROID OR IOS
DEFINES
- QT_QMLTEST_DATADIR=\\\":/data\\\"
+ QT_QMLTEST_DATADIR=":/data"
)
qt_internal_extend_target(tst_usertypes CONDITION NOT ANDROID AND NOT IOS
DEFINES
- QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ QT_QMLTEST_DATADIR="${CMAKE_CURRENT_SOURCE_DIR}/data"
)
if(QT_BUILD_STANDALONE_TESTS)
diff --git a/tests/auto/subclassreplica/CMakeLists.txt b/tests/auto/subclassreplica/CMakeLists.txt
index 7e6b3f5..17ae393 100644
--- a/tests/auto/subclassreplica/CMakeLists.txt
+++ b/tests/auto/subclassreplica/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_subclassreplicatest
SOURCES
tst_subclassreplicatest.cpp
DEFINES
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/"
LIBRARIES
Qt::RemoteObjects
)