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:
parent
23dce98e89
commit
ca121e20c4
|
@ -68,7 +68,7 @@ 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)
|
name = ''.join(['cc-', header.split('/')[-1], '_'] + opt)
|
||||||
if want_tests != 'false'
|
if want_tests != 'false'
|
||||||
test(name,
|
test(name,
|
||||||
check_compilation_sh,
|
check_compilation_sh,
|
||||||
|
|
Loading…
Reference in New Issue