mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
meson: use "_" as separator in test names
Follow-up for ca121e20c4
.
Fixes #17568.
This commit is contained in:
parent
77419ba463
commit
d448888924
|
@ -68,7 +68,8 @@ endif
|
|||
|
||||
foreach header : _systemd_headers + _not_installed_headers + ['../libudev/libudev.h']
|
||||
foreach opt : opts
|
||||
name = ''.join(['cc-', header.split('/')[-1], '_'] + opt)
|
||||
std_name = opt.length() == 2 ? '_'.join(opt[1].split(':')) : ''
|
||||
name = ''.join(['cc-', header.split('/')[-1], '_', opt[0], std_name])
|
||||
if want_tests != 'false'
|
||||
test(name,
|
||||
check_compilation_sh,
|
||||
|
|
Loading…
Reference in a new issue