use fs.stem instead of name in tests/meson.build

This commit is contained in:
John Turner
2025-11-29 16:43:10 +00:00
parent f0ffe5cb2b
commit 94f3397d19

View File

@@ -4,12 +4,12 @@ subdir('porthole')
subdir('repo') subdir('repo')
foreach test, test_args : tests foreach test, test_args : tests
name = fs.name(test) stem = fs.stem(test)
test( test(
f'test_@name@', f'test_@stem@',
executable( executable(
f'test_@name@', f'test_@stem@',
test, test,
dependencies: [mon, itertools], dependencies: [mon, itertools],
link_with: [gentoo_utils], link_with: [gentoo_utils],