From: Yu Watanabe Date: Fri, 13 Nov 2020 06:55:54 +0000 (+0900) Subject: meson: use "_" as separator in test names X-Git-Tag: v247~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d448888924c1d4815cb97bcd5d94419812c053b9;p=thirdparty%2Fsystemd.git meson: use "_" as separator in test names Follow-up for ca121e20c42219e3bc4e5cb63dcc96cc5eae2879. Fixes #17568. --- diff --git a/src/systemd/meson.build b/src/systemd/meson.build index 088dd432f01..4f578091076 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -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,