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 preferSystemSyntaxHighlighting: true
|
||||||
|
|
||||||
property bool withPluginTests: Environment.getEnv("TEST") || qbs.buildVariant === "debug"
|
property bool withAllTests: Environment.getEnv("TEST") || qbs.buildVariant === "debug"
|
||||||
property bool testsEnabled: withPluginTests // TODO: compat, remove
|
property bool withPluginTests: withAllTests
|
||||||
property bool withAutotests: project.withAutotests // FIXME: withPluginTests
|
property bool withAutotests: withAllTests
|
||||||
|
|
||||||
property stringList generalDefines: [
|
property stringList generalDefines: [
|
||||||
"QT_CREATOR",
|
"QT_CREATOR",
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
Project {
|
Project {
|
||||||
name: "Qt Creator"
|
name: "Qt Creator"
|
||||||
minimumQbsVersion: "2.0.0"
|
minimumQbsVersion: "2.0.0"
|
||||||
property bool withAutotests: qbs.buildVariant === "debug" // TODO: compat, remove
|
|
||||||
property path ide_source_tree: path
|
property path ide_source_tree: path
|
||||||
property pathList additionalPlugins: []
|
property pathList additionalPlugins: []
|
||||||
property pathList additionalLibs: []
|
property pathList additionalLibs: []
|
||||||
|
Reference in New Issue
Block a user