diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-08-02 11:25:28 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-08-03 08:49:10 +0000 |
commit | ca66195afcad474bf98163a9fbae76a2c28cd865 (patch) | |
tree | 22069b9d2227ec1f9577f368a4895ee257c5ace2 /tests/auto/blackbox/tst_blackbox.h | |
parent | ffbc37129d6a2623ddc731520baba0f4d3b6f3b1 (diff) |
RulesApplicator: Fix possible assertion failure
The RuleNode class disconnects removed input artifacts, which could
break an assertion in the RulesApplicator in the case that a rule that
can provide different tags to the same artifact switches back and forth
between these tags. Fix this by re-establishing the connection between
output artifact and parent rule node if necessary.
Change-Id: I8d50190cba782ffe63d3a73b3d5400d95c99ea0e
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.h b/tests/auto/blackbox/tst_blackbox.h index 89e43d213..f6422d1f2 100644 --- a/tests/auto/blackbox/tst_blackbox.h +++ b/tests/auto/blackbox/tst_blackbox.h @@ -232,6 +232,7 @@ private slots: void requireDeprecated(); void rescueTransformerData(); void responseFiles(); + void retaggedOutputArtifact(); void ruleConditions(); void ruleConnectionWithExcludedInputs(); void ruleCycle(); |