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 header : _systemd_headers + _not_installed_headers + ['../libudev/libudev.h']
|
||||||
foreach opt : opts
|
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'
|
if want_tests != 'false'
|
||||||
test(name,
|
test(name,
|
||||||
check_compilation_sh,
|
check_compilation_sh,
|
||||||
|
|
Loading…
Reference in New Issue