meson: use "_" as separator in test names

":" is prettier, but meson 0.56+ doesn't like it:
src/systemd/meson.build:73: DEPRECATION: ":" is not allowed in test name "cc-sd-bus.h:c", it has been replaced with "_"
src/systemd/meson.build:73: DEPRECATION: ":" is not allowed in test name "cc-sd-bus.h:c-ansi", it has been replaced with "_"
...

Fixes #17568.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-11-11 14:37:07 +01:00 committed by Lennart Poettering
parent 23dce98e89
commit ca121e20c4
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ endif
foreach header : _systemd_headers + _not_installed_headers + ['../libudev/libudev.h']
foreach opt : opts
name = ''.join(['cc-', header.split('/')[-1], ':'] + opt)
name = ''.join(['cc-', header.split('/')[-1], '_'] + opt)
if want_tests != 'false'
test(name,
check_compilation_sh,