diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-26 01:52:26 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-03 13:37:16 +0200 |
commit | 130c87b16a572169a3c4978391ca53fc37a19afe (patch) | |
tree | c0fc9759cc8b5516b1f512c952feeddd7ff464e7 /src/oom/meson.build | |
parent | test: rename udev-rule-runner -> test-udev-rule-runner (diff) | |
download | systemd-130c87b16a572169a3c4978391ca53fc37a19afe.tar.xz systemd-130c87b16a572169a3c4978391ca53fc37a19afe.zip |
meson: merge declarations of normal and test executables
Diffstat (limited to 'src/oom/meson.build')
-rw-r--r-- | src/oom/meson.build | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/oom/meson.build b/src/oom/meson.build index b475fbf12c..d2f4c076e3 100644 --- a/src/oom/meson.build +++ b/src/oom/meson.build @@ -21,6 +21,13 @@ executables += [ 'conditions' : ['ENABLE_OOMD'], 'sources' : files('oomctl.c'), }, + test_template + { + 'sources' : files( + 'test-oomd-util.c', + 'oomd-util.c', + ), + 'dependencies' : libatomic, + }, ] if conf.get('ENABLE_OOMD') == 1 @@ -35,13 +42,3 @@ if conf.get('ENABLE_OOMD') == 1 install_dir : pkgsysconfdir) endif endif - -tests += [ - { - 'sources' : files( - 'test-oomd-util.c', - 'oomd-util.c', - ), - 'dependencies' : libatomic, - }, -] |