meson: add -Dtests=false|true option

When set to false, no test binaries are neither built, nor
executed (with “ninja test”).

Closes #919
This commit is contained in:
Daniel Eklöf 2022-02-06 12:51:54 +01:00
parent e6f884a9e1
commit c7248cf763
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 20 additions and 9 deletions

View file

@ -66,6 +66,10 @@
foot only supports level 1 and 2 (and not level 0), this sequence
does not disable _modifyOtherKeys_ completely, but simply reverts it
back to level 1 (the default).
* `-Dtests=false|true` meson command line option. When disabled, test
binaries will neither be built, nor will `ninja test` attempt to
execute them. Enabled by default
(https://codeberg.org/dnkl/foot/issues/919).
### Changed