summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2023-01-19 18:15:30 +0100
committerAmir Masoud Abdol <amir.abdol@qt.io>2023-02-10 10:36:20 +0000
commitd9b51d5cdda38defb6483c3dc4dee39b8be3abae (patch)
tree810808156b2a4c953a03608aa9fa5f2aa6e033b0
parentb53ca3287d2aafd98249d2851152c917845da5e3 (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: I2ba3e6c41095ea8d325fa1e2cbd8e769496cc168 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit edd8b61a010030f3392f9bd174774100f2ebfb72) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
-rw-r--r--tests/auto/qcandbcfileparser/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qcandbcfileparser/CMakeLists.txt b/tests/auto/qcandbcfileparser/CMakeLists.txt
index 0b2df30..58a45e7 100644
--- a/tests/auto/qcandbcfileparser/CMakeLists.txt
+++ b/tests/auto/qcandbcfileparser/CMakeLists.txt
@@ -23,10 +23,10 @@ qt_internal_add_test(tst_qcandbcfileparser
qt_internal_extend_target(tst_qcandbcfileparser CONDITION NOT ANDROID AND NOT IOS
DEFINES
- QT_TEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ QT_TEST_DATADIR="${CMAKE_CURRENT_SOURCE_DIR}/data"
)
qt_internal_extend_target(tst_qcandbcfileparser CONDITION ANDROID OR IOS
DEFINES
- QT_TEST_DATADIR=\\\":/data\\\"
+ QT_TEST_DATADIR=":/data"
)