diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-12-12 08:55:02 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-12-13 16:50:44 +0000 |
commit | 04d1e32b4c83b4a47548a9d52af289e24cb375ea (patch) | |
tree | 1a002024cd77a50c22f3c6c6a375379a02f08293 /qbs.qbs | |
parent | a700217274eda09127820da28bda440e8d89b7c5 (diff) | |
download | qbs-04d1e32b4c83b4a47548a9d52af289e24cb375ea.tar.gz |
Allow passing autotest wrapper arguments to qbs autotests
Useful for sending test output to files in continuous integration,
for example, where the arguments must vary for each individual test.
Change-Id: I7b01e836d07864e41c6ab19810a5fcadfe840e44
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs.qbs')
-rw-r--r-- | qbs.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,7 @@ Project { qbsSearchPaths: ["qbs-resources"] property bool withExamples: false property stringList autotestArguments: [] + property stringList autotestWrapper: [] references: [ "dist/dist.qbs", @@ -34,6 +35,7 @@ Project { Depends { name: "qbs_cpp_scanner" } Depends { name: "qbs_qt_scanner" } arguments: project.autotestArguments + wrapper: project.autotestWrapper environment: { var env = base; if (qbs.hostOS.contains("windows") && qbs.targetOS.contains("windows")) { |