build: use allowed over enabled or not-disabled
Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and
auto.
Switch all uses of `enabled` to `allowed`.
Switch all uses of `not disabled` to `allowed`.
Change-Id: I3e26b283457a6442d20adeca3f40bf0269009a3c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/meson.build b/test/meson.build
index 425cc2a..8d103f7 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -41,7 +41,7 @@
# considering valgrind enabled path setting up this 500 sec.
)
-if not get_option('ca-cert-extension').disabled()
+if get_option('ca-cert-extension').allowed()
test(
'test_ca_certs_manager',
executable(