meson: add dependency for udev runner to test

This commit is contained in:
Yu Watanabe 2023-06-20 06:05:53 +09:00
parent 50cf2032a0
commit 67b1c943cb

View file

@ -4555,12 +4555,12 @@ if want_tests != 'false' and static_libudev_pic
endif
if want_tests != 'false'
udev_rule_runner = TESTS['udev-rule-runner'].full_path()
exe = TESTS.get('udev-rule-runner')
test('test-udev',
test_udev_py,
args : ['-v'],
env : ['UDEV_RULE_RUNNER=@0@'.format(udev_rule_runner)],
env : ['UDEV_RULE_RUNNER=' + exe.full_path()],
depends : exe,
timeout : 180)
endif