From 58b0dac9f88fb2b2451b461cb28ff8942c924350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 4 Apr 2026 22:10:27 +0200 Subject: [PATCH] meson: fix coccinelle test names fs.name() returns empty if the string ends with "/". --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5db299a2a7..659aecd421 100644 --- a/meson.build +++ b/meson.build @@ -2998,7 +2998,7 @@ if spatch.found() foreach dir : coccinelle_src_dirs if dir not in coccinelle_exclude test( - 'coccinelle-@0@'.format(fs.name(dir)), + 'coccinelle-@0@'.format(fs.name(dir.strip('/'))), check_coccinelle_sh, args : [meson.project_source_root() / dir, meson.project_source_root() / 'coccinelle'],