summaryrefslogtreecommitdiffstats
path: root/src/locale
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-06-26 01:52:26 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-03 13:37:16 +0200
commit130c87b16a572169a3c4978391ca53fc37a19afe (patch)
treec0fc9759cc8b5516b1f512c952feeddd7ff464e7 /src/locale
parenttest: rename udev-rule-runner -> test-udev-rule-runner (diff)
downloadsystemd-130c87b16a572169a3c4978391ca53fc37a19afe.tar.xz
systemd-130c87b16a572169a3c4978391ca53fc37a19afe.zip
meson: merge declarations of normal and test executables
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/meson.build19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/locale/meson.build b/src/locale/meson.build
index e7e059a0ab..3d3aa589c3 100644
--- a/src/locale/meson.build
+++ b/src/locale/meson.build
@@ -33,6 +33,14 @@ executables += [
'conditions' : ['ENABLE_LOCALED'],
'sources' : files('localectl.c'),
},
+ test_template + {
+ 'sources' : files(
+ 'test-localed-util.c',
+ 'localed-util.c',
+ 'xkbcommon-util.c',
+ ),
+ 'dependencies' : libxkbcommon_deps,
+ },
]
# If you know a way that allows the same variables to be used
@@ -52,14 +60,3 @@ if conf.get('ENABLE_LOCALED') == 1
'language-fallback-map',
install_dir : pkgdatadir)
endif
-
-tests += [
- {
- 'sources' : files(
- 'test-localed-util.c',
- 'localed-util.c',
- 'xkbcommon-util.c',
- ),
- 'dependencies' : libxkbcommon_deps,
- },
-]