diff options
author | Cristian Le <[email protected]> | 2025-06-17 18:38:24 +0200 |
---|---|---|
committer | Cristian Le <[email protected]> | 2025-06-26 17:32:01 +0200 |
commit | 7b3b3b24193b2ba7d6bd4671e446e9c4ddf31535 (patch) | |
tree | a55b2df5c54baf4b7610fd1c2a503b6596dbb762 | |
parent | 30cbc27c373c6c427114e9775d9b6a989e4c6a72 (diff) |
Add qt_internal_add_default_tests
This serves as a hook to add tests and test-like targets to all repo
builds
Change-Id: I480885bf5c8899981e5b8d215a14a7b736bda890
Reviewed-by: Alexandru Croitor <[email protected]>
-rw-r--r-- | cmake/QtBuildRepoHelpers.cmake | 2 | ||||
-rw-r--r-- | cmake/QtTestHelpers.cmake | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cmake/QtBuildRepoHelpers.cmake b/cmake/QtBuildRepoHelpers.cmake index bca25233365..88fd8a531ff 100644 --- a/cmake/QtBuildRepoHelpers.cmake +++ b/cmake/QtBuildRepoHelpers.cmake @@ -817,6 +817,8 @@ macro(qt_build_tests) endif() endif() + qt_internal_add_default_tests() + if(NOT QT_SUPERBUILD) # In a super build, we don't want to finalize the batch blacklist at the end of each repo, # but rather once at the end of the top-level configuration. diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake index 6e096c49180..138ab62b193 100644 --- a/cmake/QtTestHelpers.cmake +++ b/cmake/QtTestHelpers.cmake @@ -1214,3 +1214,7 @@ function(qt_internal_add_test_finalizers target) qt_add_list_file_finalizer(_qt_internal_finalize_executable "${target}") endif() endfunction() + +# Collection of tests and targets added to all repos +function(qt_internal_add_default_tests) +endfunction() |