qbs build: Remove deprecated test properties

Also introduce a new convenience property that enables both autotests
and plugin tests.

Change-Id: Ifb30f19aae58b08a2a32f3a7df0260b05a8002e7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2024-09-30 15:14:57 +02:00
parent 955c12ec84
commit b7d659f32f
2 changed files with 3 additions and 4 deletions

View File

@@ -72,9 +72,9 @@ Module {
property bool preferSystemSyntaxHighlighting: true
property bool withPluginTests: Environment.getEnv("TEST") || qbs.buildVariant === "debug"
property bool testsEnabled: withPluginTests // TODO: compat, remove
property bool withAutotests: project.withAutotests // FIXME: withPluginTests
property bool withAllTests: Environment.getEnv("TEST") || qbs.buildVariant === "debug"
property bool withPluginTests: withAllTests
property bool withAutotests: withAllTests
property stringList generalDefines: [
"QT_CREATOR",

View File

@@ -1,7 +1,6 @@
Project {
name: "Qt Creator"
minimumQbsVersion: "2.0.0"
property bool withAutotests: qbs.buildVariant === "debug" // TODO: compat, remove
property path ide_source_tree: path
property pathList additionalPlugins: []
property pathList additionalLibs: []