aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata')
-rw-r--r--tests/auto/blackbox/testdata/probe-in-exported-module/dependee.qbs1
-rw-r--r--tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs2
-rw-r--r--tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs1
-rw-r--r--tests/auto/blackbox/testdata/probe-in-exported-module/modules/myothermodule/myothermodule.qbs6
4 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/probe-in-exported-module/dependee.qbs b/tests/auto/blackbox/testdata/probe-in-exported-module/dependee.qbs
index 94e266499..121ec6c39 100644
--- a/tests/auto/blackbox/testdata/probe-in-exported-module/dependee.qbs
+++ b/tests/auto/blackbox/testdata/probe-in-exported-module/dependee.qbs
@@ -2,6 +2,7 @@ import qbs
Product {
name: "dependee"
+ Depends { name: "myothermodule" }
Depends { name: "dependency" }
type: ["out", "dep-out"]
Group {
diff --git a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs
index b477e2bf7..f2d7e8dce 100644
--- a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs
+++ b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs
@@ -2,6 +2,7 @@ import qbs
Module {
property string prop
+ property stringList listProp: []
Rule {
inputs: ["dep-in"]
@@ -14,6 +15,7 @@ Module {
cmd.description = "Creating dep-out artifact";
cmd.sourceCode = function() {
console.info("prop: " + product.moduleProperty("depmodule", "prop"));
+ console.info("listProp: " + product.moduleProperty("depmodule", "listProp"));
};
return [cmd];
}
diff --git a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs
index af1c33049..e68899ae2 100644
--- a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs
+++ b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs
@@ -8,6 +8,7 @@ Module {
}
property bool found: theProbe.found
depmodule.prop: found ? "yes" : "no"
+ depmodule.listProp: theProbe.found ? ["my"] : []
Rule {
inputs: ["in"]
diff --git a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/myothermodule/myothermodule.qbs b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/myothermodule/myothermodule.qbs
new file mode 100644
index 000000000..d3009f532
--- /dev/null
+++ b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/myothermodule/myothermodule.qbs
@@ -0,0 +1,6 @@
+import qbs
+
+Module {
+ Depends { name: "depmodule" }
+ depmodule.listProp: ["myother"]
+}