summaryrefslogtreecommitdiffstats
path: root/test/fuzz/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/fuzz/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzz/meson.build b/test/fuzz/meson.build
index a8fb71c566..61a62a75a3 100644
--- a/test/fuzz/meson.build
+++ b/test/fuzz/meson.build
@@ -83,8 +83,8 @@ foreach p : out.stdout().split()
if p.contains('\\')
continue
endif
- fuzzer = p.split('/')[-2]
- fuzz_in = p.split('/')[-1]
+ fuzzer = fs.name(fs.parent(p))
+ fuzz_in = fs.name(p)
if fuzzer not in fuzz_regression_tests
fuzz_regression_tests += {fuzzer: []}
endif