forked from qt-creator/qt-creator
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:
@@ -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",
|
||||
|
@@ -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: []
|
||||
|
Reference in New Issue
Block a user