aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-12-12 08:55:02 -0800
committerJake Petroules <jake.petroules@qt.io>2016-12-13 16:50:44 +0000
commit04d1e32b4c83b4a47548a9d52af289e24cb375ea (patch)
tree1a002024cd77a50c22f3c6c6a375379a02f08293 /qbs.qbs
parenta700217274eda09127820da28bda440e8d89b7c5 (diff)
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.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/qbs.qbs b/qbs.qbs
index 44d0b751d..e65ca2b11 100644
--- a/qbs.qbs
+++ b/qbs.qbs
@@ -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")) {