diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-02-02 22:11:03 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-11-22 20:22:04 -0500 |
commit | 08262c3102e250759c09f5cdde80f13fbbf3dc08 (patch) | |
tree | 8dbc585ae4dfa13df7c5a7eefd1225540241b2f6 /unittests/baseplatformtests.py | |
parent | fd43842041e8ca83b1baee94f053c814e144f98b (diff) | |
download | meson-08262c3102e250759c09f5cdde80f13fbbf3dc08.zip meson-08262c3102e250759c09f5cdde80f13fbbf3dc08.tar.gz meson-08262c3102e250759c09f5cdde80f13fbbf3dc08.tar.bz2 |
test runner: fix excluding null options
It was impossible to specify null arguments in the exclude array,
while they were passed properly in the code, they were stringified
while the entries in the options array were just completely removed.
To fix this, do not early stringify the argument name and option
together as that would make it impossible to properly match it to
None without introducing a new special case for the string "None".
So instead they are now kept as tuples and only stringified when
its actually needed.
Diffstat (limited to 'unittests/baseplatformtests.py')
0 files changed, 0 insertions, 0 deletions