aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-07-05 12:53:35 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-07-05 13:30:58 +0000
commitacf4a4bd8cc8eabdbbe3c2e9fef1cd6728501ff3 (patch)
tree6e00b7c6f1b7bbca9c0d03c571d5fd00179febec /tests/auto/blackbox/testdata
parent768fc9c72e69f6a0843635bf71910c497d9f23ec (diff)
Remember which module properties were set explicitly on an artifact
... and consider these when updating the properties of generated artifacts during the change tracking process. This amends 768fc9c72e. Change-Id: Ifd3f6342fec8313b8cdd2e611734fc52a3810ae8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata')
-rw-r--r--tests/auto/blackbox/testdata/source-artifact-changes/source-artifact-changes.qbs20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/source-artifact-changes/source-artifact-changes.qbs b/tests/auto/blackbox/testdata/source-artifact-changes/source-artifact-changes.qbs
index 86112146f..b253bb93f 100644
--- a/tests/auto/blackbox/testdata/source-artifact-changes/source-artifact-changes.qbs
+++ b/tests/auto/blackbox/testdata/source-artifact-changes/source-artifact-changes.qbs
@@ -1,5 +1,6 @@
CppApplication {
name: "app"
+ type: base.concat("dummy")
Probe {
id: toolchainProbe
property stringList toolchain: qbs.toolchain
@@ -9,5 +10,24 @@ CppApplication {
}
}
+ Rule {
+ multiplex: true
+ inputs: "cpp"
+ Artifact {
+ filePath: "dummy"
+ fileTags: "dummy"
+ cpp.cxxLanguageVersion: "hoppla"
+ }
+ prepare: {
+ var cmd = new JavaScriptCommand();
+ cmd.silent = true;
+ cmd.sourceCode = function() {
+ if (output.cpp.cxxLanguageVersion !== "hoppla")
+ throw "This cannot be!";
+ };
+ return cmd;
+ }
+ }
+
Depends { name: "module_with_files" }
}