From 9382642c409b2bba549a5453abbf1b2e94686171 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 3 Mar 2023 08:00:00 +0000 Subject: meson.build: check udev rules using udevadm verify Although udev rules are already being checked by rule-syntax-check.py script, also check them using udevadm verify which performs more thorough checks. --- meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index ff8706d94c..6885884a00 100644 --- a/meson.build +++ b/meson.build @@ -3847,6 +3847,13 @@ udevadm = executable( install_dir : rootbindir) public_programs += udevadm +if want_tests != 'false' + test('udev-rules-check', + udevadm, + suite : 'dist-check', + args : ['verify', '--resolve-names=never', all_rules]) +endif + if conf.get('ENABLE_REPART') == 1 exe = executable( 'systemd-repart', -- cgit v1.2.1