diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-05-16 10:47:26 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-05-16 11:07:25 +0000 |
commit | 5c1973d4b74e0823b4f4fedc896ac342520ae852 (patch) | |
tree | ea85859dcc6182add6df35e1ed9319aa5ec6b652 /tests/auto/language/tst_language.h | |
parent | ce626e5e919cabb32a7fa1be35025837196b8204 (diff) | |
download | qbs-5c1973d4b74e0823b4f4fedc896ac342520ae852.tar.gz |
Loader: Do not error out when encountering duplicate multiplex values
In qbs, values of list properties specified in a project file are merged
with those from the profile.
As of fb52fed84a1510a7de0172e643d6fd66a780e2e8, this is also true for
the special multiplexing properties ("qbs.architectures",
"qbs.buildVariants" etc). This means it can now happen that we end up
with duplicate entries in these lists implicitly. Therefore, it no longer
makes sense to throw an error when such duplicates are encountered, as
they were not necessarily specified verbatim. Instead, we simply ignore
the duplicate value and carry on normally.
Change-Id: Ie4fed2081bebd2b0dd62aa873cafed769b308e97
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/language/tst_language.h')
-rw-r--r-- | tests/auto/language/tst_language.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/language/tst_language.h b/tests/auto/language/tst_language.h index 0a59c48b1..1229157b2 100644 --- a/tests/auto/language/tst_language.h +++ b/tests/auto/language/tst_language.h @@ -95,6 +95,8 @@ private slots: void disabledSubProject(); void dottedNames_data(); void dottedNames(); + void duplicateMultiplexValues_data(); + void duplicateMultiplexValues(); void emptyJsFile(); void enumerateProjectProperties(); void evalErrorInNonPresentModule_data(); |