aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-04-30 15:55:34 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-05-07 06:58:47 +0000
commit3096c93ded3ea0fff0c3b239982ab0d446f352a3 (patch)
tree4c28bbcf1f0e3fbf7a82d164632f2c947f93b631 /share
parent4a1c5a12928cc434f06132ea9a3f7e501115636c (diff)
Add AutotestRunner.auxiliaryInputs
This is a set of file tags representing run-time dependencies of the test executables. [ChangeLog] Added the AutotestRunner.auxiliaryInputs property for specifying run-time dependencies of test executables Change-Id: If1ac6256d83f535b8be859a096062f07b0070729 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/imports/qbs/base/AutotestRunner.qbs8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/qbs/imports/qbs/base/AutotestRunner.qbs b/share/qbs/imports/qbs/base/AutotestRunner.qbs
index 8c4f705e1..7ea953039 100644
--- a/share/qbs/imports/qbs/base/AutotestRunner.qbs
+++ b/share/qbs/imports/qbs/base/AutotestRunner.qbs
@@ -43,12 +43,20 @@ Product {
property bool limitToSubProject: true
property stringList wrapper: []
property string workingDir
+ property stringList auxiliaryInputs
+
Depends {
productTypes: "autotest"
limitToSubProject: product.limitToSubProject
}
+ Depends {
+ productTypes: auxiliaryInputs
+ limitToSubProject: product.limitToSubProject
+ }
+
Rule {
inputsFromDependencies: "application"
+ auxiliaryInputs: product.auxiliaryInputs
Artifact {
filePath: Utilities.getHash(input.filePath) + ".result.dummy" // Will never exist.
fileTags: "autotest-result"