[epiphany/mcatanzaro/#684: 2/2] Use feature type for meson options



commit 0b6170168ac1eae076d562a9ed683a8bb4080e1f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Feb 20 17:44:31 2019 -0600

    Use feature type for meson options
    
    This could break anyone currently using -Dunit_tests=false, but probably
    not many people choose that.

 meson_options.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 62f6c6e11..007c56393 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -5,8 +5,8 @@ option('developer_mode',
 )
 
 option('network_tests',
-  type: 'boolean',
-  value: false,
+  type: 'feature',
+  value: 'disabled',
   description: 'Enable tests that require network access, if unit_tests are enabled'
 )
 
@@ -17,7 +17,7 @@ option('tech_preview',
 )
 
 option('unit_tests',
-  type: 'boolean',
-  value: true,
+  type: 'feature',
+  value: 'enabled',
   description: 'Enable unit tests'
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]