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 /test/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 '')
-rw-r--r-- | test/meson.build | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build index 99f50828a3..a5bcc128cc 100644 --- a/test/meson.build +++ b/test/meson.build @@ -229,7 +229,15 @@ endif sys_script_py = files('sys-script.py') test_udev_py = files('test-udev.py') - +if want_tests != 'false' + exe = executables_by_name.get('test-udev-rule-runner') + test('test-udev', + test_udev_py, + args : ['-v'], + env : ['UDEV_RULE_RUNNER=' + exe.full_path()], + depends : exe, + timeout : 180) +endif if install_tests install_data( sys_script_py, |