diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2021-06-19 21:11:43 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-07-27 13:22:51 +0000 |
commit | e1f27a9773853c60c9dcefe44d5a6f056e32633b (patch) | |
tree | 636fc045eac14193c3955c51c7cfa56b32529a88 /tests/fuzzy-test | |
parent | 242d81fc0f9236a8dc8a51367076d9e5d09c020e (diff) | |
download | qbs-e1f27a9773853c60c9dcefe44d5a6f056e32633b.tar.gz |
Do not modify the global state after running provider
Instead, cache the result of the provider in a QHash using the provider/
module name and config as the key. This allows to have a clean state for
each Depends item, so the order in which they appear does not influence
which modules are generated. This is required for the later patch that
implements "named" providers.
Change-Id: Ia395cc94430763ed33d7ff5f2ee39e36d64f195e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/fuzzy-test')
0 files changed, 0 insertions, 0 deletions