diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-01-15 15:18:17 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-01-15 16:16:04 +0000 |
commit | 5f15a0ba4102c4f2ada3d78d47bbff0c5f8c2233 (patch) | |
tree | 6e3ae86cd8588f67bd3e083af92e99d5324a619e /tests/auto/blackbox/tst_blackbox.h | |
parent | 1fc0f0152ed461a1048f2b1a7549ab68104dd806 (diff) |
Scanner item: Do not re-use the searchPaths value for other inputs
For the C++ scanner, the search paths depend on module properties, not
on the actual input file. This assumption does not generally hold for
Scanner items, which was not taken into account when this feature was
originally introduced. As a result, the first input to get scanned by a
Scanner item erroneously provided the search paths for all others.
Change-Id: I0159d826dac1f5605494d54cfe96fe468044ca34
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 9a715e721..313ad5d40 100644 --- a/tests/auto/blackbox/tst_blackbox.h +++ b/tests/auto/blackbox/tst_blackbox.h @@ -247,6 +247,7 @@ private slots: void ruleCycle(); void ruleWithNoInputs(); void ruleWithNonRequiredInputs(); + void scannerItem(); void setupBuildEnvironment(); void setupRunEnvironment(); void smartRelinking(); |