summaryrefslogtreecommitdiffstats
path: root/src/testlib/configure.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/configure.cmake')
-rw-r--r--src/testlib/configure.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/testlib/configure.cmake b/src/testlib/configure.cmake
index c3945a6c42..3490c64874 100644
--- a/src/testlib/configure.cmake
+++ b/src/testlib/configure.cmake
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
@@ -32,6 +32,13 @@ qt_feature("valgrind" PUBLIC
PURPOSE "Profiling support with callgrind."
CONDITION ( LINUX OR APPLE ) AND QT_FEATURE_process AND QT_FEATURE_regularexpression
)
+qt_feature("batch_test_support" PUBLIC
+ LABEL "Batch tests"
+ PURPOSE "Allows merging of all tests into a single executable on demand"
+ AUTODETECT QT_BUILD_TESTS_BATCHED
+ ENABLE INPUT_batch_tests STREQUAL 'yes'
+)
qt_configure_add_summary_section(NAME "Qt Testlib")
qt_configure_add_summary_entry(ARGS "itemmodeltester")
+qt_configure_add_summary_entry(ARGS "batch_test_support")
qt_configure_end_summary_section() # end of "Qt Testlib" section