summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2023-01-19 18:16:37 +0100
committerAmir Masoud Abdol <amir.abdol@qt.io>2023-02-10 17:43:18 +0000
commit47b2e3107e56440a9e0f57dc2f341aae38334cca (patch)
treee72e9f96f1d110f1aa89e83f20470ff5eb83dece
parentfa33d2c6b17b8148114524e0b06030a144617c2d (diff)
downloadqttools-47b2e3107e56440a9e0f57dc2f341aae38334cca.tar.gz
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: I9c91e6d9678a87d7d5da1c36d72803f5e586513d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 4373a5e1a77ad571f7d7df9224c5aee8763f64d9) Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--tests/auto/qhelpcontentmodel/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpenginecore/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpgenerator/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpindexmodel/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpprojectdata/CMakeLists.txt2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qhelpcontentmodel/CMakeLists.txt b/tests/auto/qhelpcontentmodel/CMakeLists.txt
index 3b17e14dd..a176f4a0f 100644
--- a/tests/auto/qhelpcontentmodel/CMakeLists.txt
+++ b/tests/auto/qhelpcontentmodel/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_qhelpcontentmodel
tst_qhelpcontentmodel.cpp
DEFINES
QT_USE_USING_NAMESPACE
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
LIBRARIES
Qt::Gui
Qt::Help
diff --git a/tests/auto/qhelpenginecore/CMakeLists.txt b/tests/auto/qhelpenginecore/CMakeLists.txt
index a32b64940..66b27f0f6 100644
--- a/tests/auto/qhelpenginecore/CMakeLists.txt
+++ b/tests/auto/qhelpenginecore/CMakeLists.txt
@@ -11,7 +11,7 @@ qt_internal_add_test(tst_qhelpenginecore
tst_qhelpenginecore.cpp
DEFINES
QT_USE_USING_NAMESPACE
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
LIBRARIES
Qt::Gui
Qt::Help
diff --git a/tests/auto/qhelpgenerator/CMakeLists.txt b/tests/auto/qhelpgenerator/CMakeLists.txt
index 9e638e4d0..624d9fe4e 100644
--- a/tests/auto/qhelpgenerator/CMakeLists.txt
+++ b/tests/auto/qhelpgenerator/CMakeLists.txt
@@ -13,7 +13,7 @@ qt_internal_add_test(tst_qhelpgenerator
tst_qhelpgenerator.cpp
DEFINES
QT_USE_USING_NAMESPACE
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
LIBRARIES
Qt::Gui
Qt::HelpPrivate
diff --git a/tests/auto/qhelpindexmodel/CMakeLists.txt b/tests/auto/qhelpindexmodel/CMakeLists.txt
index a62d5110d..b3dd60f26 100644
--- a/tests/auto/qhelpindexmodel/CMakeLists.txt
+++ b/tests/auto/qhelpindexmodel/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_qhelpindexmodel
tst_qhelpindexmodel.cpp
DEFINES
QT_USE_USING_NAMESPACE
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
LIBRARIES
Qt::Gui
Qt::Help
diff --git a/tests/auto/qhelpprojectdata/CMakeLists.txt b/tests/auto/qhelpprojectdata/CMakeLists.txt
index 879c6fb2b..50607c5fe 100644
--- a/tests/auto/qhelpprojectdata/CMakeLists.txt
+++ b/tests/auto/qhelpprojectdata/CMakeLists.txt
@@ -12,7 +12,7 @@ qt_internal_add_test(tst_qhelpprojectdata
tst_qhelpprojectdata.cpp
DEFINES
QT_USE_USING_NAMESPACE
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
LIBRARIES
Qt::Gui
Qt::HelpPrivate