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.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testlib/configure.cmake b/src/testlib/configure.cmake
index d83b4f09b0..3490c64874 100644
--- a/src/testlib/configure.cmake
+++ b/src/testlib/configure.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
#### Inputs
@@ -29,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