aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mesonprojectmanager
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-09-18 16:25:12 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2023-09-19 13:16:28 +0000
commita217fa0c223946fbf44592e0e57ce8d68faa8378 (patch)
tree5bf92c292acc70b07d5d92c89f37864180b2c323 /src/plugins/mesonprojectmanager
parentef00a7e28b329b62452055b610fb7df978fa6345 (diff)
qbs build: Clean up testing infrastructure
- Rename ambiguously named "testsEnabled" property to "withPluginTests" and fix the wrong uses. - Move AutotestRunner out of main project file and into tests.qbs. - Move "withAutotests" property into qtc module. We cannot remove it from the main project file just yet, because some manual tests do not make use of QtcManualTest at the moment. - Do not remove the autotests from the project tree if autotests are disabled. Instead, just disable the products. Change-Id: I74a4cc717d9adbe53d37536b2565111e1617115b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/mesonprojectmanager')
-rw-r--r--src/plugins/mesonprojectmanager/mesonprojectmanager.qbs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/mesonprojectmanager/mesonprojectmanager.qbs b/src/plugins/mesonprojectmanager/mesonprojectmanager.qbs
index c977f8b8283..9167f025b20 100644
--- a/src/plugins/mesonprojectmanager/mesonprojectmanager.qbs
+++ b/src/plugins/mesonprojectmanager/mesonprojectmanager.qbs
@@ -95,7 +95,6 @@ Project {
QtcAutotest {
name: "mesonwrapper"
- condition: project.withAutotests
Depends { name: "Core" }
Depends { name: "Utils" }
@@ -116,7 +115,6 @@ Project {
QtcAutotest {
name: "mesoninfoparser"
- condition: project.withAutotests
Depends { name: "Core" }
Depends { name: "Utils" }
@@ -138,7 +136,6 @@ Project {
QtcAutotest {
name: "ninjaparser"
- condition: project.withAutotests
Depends { name: "Core" }
Depends { name: "ProjectExplorer" }
@@ -156,7 +153,6 @@ Project {
QtcAutotest {
name: "mesonparser"
- condition: project.withAutotests
Depends { name: "Core" }
Depends { name: "ProjectExplorer" }