forked from gentoo-utils/gentoo-utils
use fs.stem instead of name in tests/meson.build
This commit is contained in:
@@ -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],
|
||||||
|
|||||||
Reference in New Issue
Block a user