summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/headers/meson.build3
-rw-r--r--test/meson.build2
2 files changed, 3 insertions, 2 deletions
diff --git a/test/headers/meson.build b/test/headers/meson.build
index aed2e43..b5d7c71 100644
--- a/test/headers/meson.build
+++ b/test/headers/meson.build
@@ -3,12 +3,13 @@
header_c_suppressions = []
-if get_option('strict')
+if get_option('warning_level') == 'everything'
if cc.get_id() == 'clang'
header_c_suppressions += [
'-Wno-cast-align', # LV2
'-Wno-cast-qual', # LV2
'-Wno-declaration-after-statement', # LV2
+ '-Wno-padded', # LV2, serd
]
elif cc.get_id() == 'gcc'
header_c_suppressions += [
diff --git a/test/meson.build b/test/meson.build
index 841b8af..cbddee6 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -5,7 +5,7 @@
# Project Metadata #
####################
-if get_option('strict')
+if get_option('warning_level') == 'everything'
# Check release metadata
if not meson.is_subproject()
autoship = find_program('autoship', required: false)