summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-30 18:27:55 -0400
committerDavid Robillard <d@drobilla.net>2023-05-01 13:15:50 -0400
commited6ae993e3889e2243cb0387e5d53398b118749d (patch)
treee9b0d4861c55793aabda59556ef910eab59a825e /test
parentf1f063c8e170b2a6350eedf68c4859b974d85d5e (diff)
downloadsratom-ed6ae993e3889e2243cb0387e5d53398b118749d.tar.gz
sratom-ed6ae993e3889e2243cb0387e5d53398b118749d.tar.bz2
sratom-ed6ae993e3889e2243cb0387e5d53398b118749d.zip
Replace strict option with new meson warning level
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)