summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-11 14:37:07 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-12-08 18:08:31 +0100
commit6f6a38a1eaff0a313aa55d0a17377b3d9745ac0c (patch)
treee60b234e152c51c088ac473316251235cb4e26fb
parent45ed35fdc09f1c8dc2462d2ce2e257976c038262 (diff)
downloadsystemd-6f6a38a1eaff0a313aa55d0a17377b3d9745ac0c.tar.gz
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. (cherry picked from commit ca121e20c42219e3bc4e5cb63dcc96cc5eae2879)
-rw-r--r--src/systemd/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/meson.build b/src/systemd/meson.build
index 62baf7784e..be1b5047dc 100644
--- a/src/systemd/meson.build
+++ b/src/systemd/meson.build
@@ -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,