summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2019-02-20 17:44:31 -0600
committerJan-Michael Brummer <jan.brummer@tabos.org>2019-02-24 17:23:04 +0000
commitf2b8170e3d1c100f15269ec6f9e82929b0756be2 (patch)
tree16c2c2ef5f6fd46f61d7181c01f6857b5b2591dc /tests
parentca58a4243180873210265e9b9509edcc52662756 (diff)
downloadepiphany-f2b8170e3d1c100f15269ec6f9e82929b0756be2.tar.gz
Use feature type for meson options
This could break anyone currently using -Dunit_tests=false, but probably not many people choose that.
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index bfabf6e2c..b199a2c10 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -5,7 +5,7 @@ envs = [
'GSETTINGS_BACKEND=memory',
]
-if get_option('unit_tests')
+if get_option('unit_tests').enabled()
# FIXME: The tests that need ephy-test-utils are all disabled....
#
# libephytestutils = static_library('ephytestutils',
@@ -169,7 +169,7 @@ if get_option('unit_tests')
# env: envs
# )
- if get_option('network_tests')
+ if get_option('network_tests').enabled()
gsb_service_test = executable('test-ephy-gsb-service',
'ephy-gsb-service-test.c',
dependencies: ephymain_dep