diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-22 15:40:01 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-07-05 09:02:52 +0000 |
commit | 768fc9c72e69f6a0843635bf71910c497d9f23ec (patch) | |
tree | 76f93222b2260b70c3bce7b0965a571f31a1aac5 /tests/auto/blackbox/testdata/artifacts-map-change-tracking | |
parent | 3523be5d90a2502540a99ca2b57e28da41476b76 (diff) |
Do not reset the product build data due to source file metadata changes
It is not necessary to throw away and recreate all the product's
artifacts and rule nodes if a source file's tags or properties change.
Instead, just copy the new data into the corresponding Artifact object.
As a necessary side effect, we also handle changes to the product-
level module properties and to "fileTagsFilter groups" in a more fine-
grained manner by resetting the properties and file tags of the
product's Artifact objects that represent generated artifacts.
This is part of a long-term effort to eliminate the build graph's
"shadow structure" aka RescuableArtifactData.
The next step will deal with added and removed source files.
Change-Id: I054fa18d7920ea5c429c92bfca1c12e34192211e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/artifacts-map-change-tracking')
-rw-r--r-- | tests/auto/blackbox/testdata/artifacts-map-change-tracking/artifacts-map-change-tracking.qbs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/blackbox/testdata/artifacts-map-change-tracking/artifacts-map-change-tracking.qbs b/tests/auto/blackbox/testdata/artifacts-map-change-tracking/artifacts-map-change-tracking.qbs index 217ed7d08..2d9c95e95 100644 --- a/tests/auto/blackbox/testdata/artifacts-map-change-tracking/artifacts-map-change-tracking.qbs +++ b/tests/auto/blackbox/testdata/artifacts-map-change-tracking/artifacts-map-change-tracking.qbs @@ -20,14 +20,6 @@ Project { files: "test.cpp.in" fileTags: "cpp.in" } - Probe { - id: osProbe - property stringList targetOS: qbs.targetOS - configure: { - found = targetOS.contains("darwin"); - console.info("is darwin: " + found); - } - } } Product { name: "meta" |