diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-03-07 00:18:40 +0530 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2020-03-11 07:11:59 -0400 |
commit | bd953b6b2977eb9d9afb92208f117dd8845a3088 (patch) | |
tree | 337d2d90634de56e9c6619aa655bc2d362e8fe17 /docs/markdown/Unit-tests.md | |
parent | c7aa4c8861eb6c1d3534b3b0e94e901b7b2d0206 (diff) | |
download | meson-bd953b6b2977eb9d9afb92208f117dd8845a3088.zip meson-bd953b6b2977eb9d9afb92208f117dd8845a3088.tar.gz meson-bd953b6b2977eb9d9afb92208f117dd8845a3088.tar.bz2 |
coredata: Passing an option is supposed to set it, not flip the default
With the current logic passing `--debug` will actually be parsed as
`-Ddebug=false`, which is absolutely not what is expected.
There is no case in which the presence of a boolean option in `--foo`
form will mean 'I want feature foo disabled', regardless of the
*default* value of that option.
Also includes a test.
Closes https://github.com/mesonbuild/meson/issues/4686
Diffstat (limited to 'docs/markdown/Unit-tests.md')
0 files changed, 0 insertions, 0 deletions