diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-12-12 00:46:27 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-12-12 16:31:04 +0000 |
commit | d1fc24b9fecb698004d582255a640f50c31fec54 (patch) | |
tree | e9b15996a2e140c3eebb3bcebe5ccf02e469b303 | |
parent | bd1aa72364dca7523e547ae120deeddc1304cc08 (diff) | |
download | qbs-d1fc24b9fecb698004d582255a640f50c31fec54.tar.gz |
Allow passing autotest arguments to qbs autotests
Useful for sending test output to files in continuous integration,
for example.
Change-Id: Ib9437f53347bae6e6db42cede18184151f8947d4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | qbs.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,7 @@ Project { minimumQbsVersion: "1.6" qbsSearchPaths: ["qbs-resources"] property bool withExamples: false + property stringList autotestArguments: [] references: [ "dist/dist.qbs", @@ -32,6 +33,7 @@ Project { Depends { name: "qbs resources" } Depends { name: "qbs_cpp_scanner" } Depends { name: "qbs_qt_scanner" } + arguments: project.autotestArguments environment: { var env = base; if (qbs.hostOS.contains("windows") && qbs.targetOS.contains("windows")) { |