diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2014-12-17 18:01:17 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2014-12-18 12:13:22 +0100 |
commit | d3f70ef8c249e8bce65c31dca48caa550a4af4e9 (patch) | |
tree | c40ad3ba6d13636945ab296fb4caf98e737de0f8 | |
parent | c44f17b1ed7e927b0aa86e09470d7a0b056958fb (diff) | |
download | qbs-d3f70ef8c249e8bce65c31dca48caa550a4af4e9.tar.gz |
Add AutotestRunner for qbs project.
Change-Id: I604503fe0fe2d422fa6beeb788482f47a6a1b947
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rw-r--r-- | qbs-resources/imports/QbsAutotest.qbs | 2 | ||||
-rw-r--r-- | qbs.qbs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/qbs-resources/imports/QbsAutotest.qbs b/qbs-resources/imports/QbsAutotest.qbs index 4edccb94d..df7967cf5 100644 --- a/qbs-resources/imports/QbsAutotest.qbs +++ b/qbs-resources/imports/QbsAutotest.qbs @@ -1,7 +1,7 @@ import qbs QtApplication { - type: "application" + type: ["application", "autotest"] property string testName name: "tst_" + testName Depends { name: "Qt.test" } @@ -1,7 +1,7 @@ import qbs 1.0 Project { - minimumQbsVersion: "1.3" + minimumQbsVersion: "1.4" qbsSearchPaths: ["qbs-resources"] property bool enableUnitTests: false property bool enableProjectFileUpdates: false @@ -38,4 +38,6 @@ Project { condition: parent.withExamples } } + + AutotestRunner { } } |