aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/230 persubproject options/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/230 persubproject options/meson.build')
-rw-r--r--test cases/common/230 persubproject options/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/test cases/common/230 persubproject options/meson.build b/test cases/common/230 persubproject options/meson.build
index 20dff90..f76a70c 100644
--- a/test cases/common/230 persubproject options/meson.build
+++ b/test cases/common/230 persubproject options/meson.build
@@ -1,9 +1,11 @@
project('persubproject options', 'c',
default_options : ['default_library=both',
- 'werror=true'])
+ 'werror=true',
+ 'warning_level=3'])
assert(get_option('default_library') == 'both', 'Parent default_library should be "both"')
assert(get_option('werror'))
+assert(get_option('warning_level') == '3')
# Check it build both by calling a method only both_libraries target implement
lib = library('lib1', 'foo.c')