mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
meson: add dependency for udev runner to test
This commit is contained in:
parent
50cf2032a0
commit
67b1c943cb
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user