aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackbox.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-02-21 18:21:06 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-03-03 09:15:55 +0000
commit41d39eee1272a00d2bdbe525aff8d99ec2a4d7f8 (patch)
tree4cc16b7c7460153c49a8d3369f8ad51c3ca4ed3e /tests/auto/blackbox/tst_blackbox.h
parent971cd8c44ffe1623d2129931ed88471432064b01 (diff)
Artifact Scanning: Prefer scan results from product dependencies
If scanning finds an artifact in more than one product, we so far randomly used one of them. We now prefer artifacts from product dependencies, because the other ones might get lost during change tracking, as we don't keep an "is scan result of" type of information in our RescuableArtifactData. This should fix the linked bug in the vast majority of actual projects. It's also conceptually the right thing to do, because the artifact in the product dependency is much more likely to be the one that was intended to be found. Task-number: QBS-1532 Change-Id: Idd8662bb00570bc57f5861ce83517f0adb845b49 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.h')
-rw-r--r--tests/auto/blackbox/tst_blackbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.h b/tests/auto/blackbox/tst_blackbox.h
index 54fa9c90e..ec6b9f7e4 100644
--- a/tests/auto/blackbox/tst_blackbox.h
+++ b/tests/auto/blackbox/tst_blackbox.h
@@ -273,6 +273,7 @@ private slots:
void sanitizer();
void scannerItem();
void scanResultInOtherProduct();
+ void scanResultInNonDependency();
void setupBuildEnvironment();
void setupRunEnvironment();
void smartRelinking();