diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2019-02-20 17:44:31 -0600 |
---|---|---|
committer | Jan-Michael Brummer <jan.brummer@tabos.org> | 2019-02-24 17:23:04 +0000 |
commit | f2b8170e3d1c100f15269ec6f9e82929b0756be2 (patch) | |
tree | 16c2c2ef5f6fd46f61d7181c01f6857b5b2591dc /tests | |
parent | ca58a4243180873210265e9b9509edcc52662756 (diff) | |
download | epiphany-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.build | 4 |
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 |