diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-06-16 10:41:52 +0200 |
---|---|---|
committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-06-16 11:31:31 +0200 |
commit | 40421c2b7cf3aef36d2bb8c754d19c3c65ad25fa (patch) | |
tree | c4e962fe28dc1b008348e3923258a9dc091a9d66 /sources | |
parent | 218301ee79c9b669aee80a376c2d2b3934330270 (diff) |
testing: skip test_pyside6_qml when Qml is not built
Testing should always work for every allowed subset of modules.
We therefore include a check if Qml was compiled.
Amends d78151f89b2c374af366bee536c8ceeae3b2ab5e
Change-Id: I7b4a7eab7a4adcec8609b05b772b03e07c2117ab
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/pyside6/tests/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/pyside6/tests/CMakeLists.txt b/sources/pyside6/tests/CMakeLists.txt index 0d5b6fa54..e945e681b 100644 --- a/sources/pyside6/tests/CMakeLists.txt +++ b/sources/pyside6/tests/CMakeLists.txt @@ -49,7 +49,10 @@ add_subdirectory(registry) add_subdirectory(signals) add_subdirectory(support) add_subdirectory(tools/metaobjectdump) -add_subdirectory(tools/pyside6-qml) + +if (NOT DISABLE_QtQml) + add_subdirectory(tools/pyside6-qml) +endif() foreach(shortname IN LISTS all_module_shortnames) message(STATUS "preparing tests for module 'Qt${shortname}'") |