tests: Add umockdev based testing

Initially only the vfs5011 driver is tested. Please note that these
tests will be unreliable before umockdev 0.13.2.

See also https://github.com/martinpitt/umockdev/pull/92
This commit is contained in:
Benjamin Berg
2019-08-12 14:34:37 +02:00
parent e372311afe
commit 538038867b
8 changed files with 329 additions and 2 deletions

View File

@@ -15,3 +15,11 @@ if 'virtual_image' in drivers
)
endif
if 'vfs5011' in drivers
test(
'vfs5011',
find_program('umockdev-test.py'),
args: join_paths(meson.current_source_dir(), 'vfs5011'),
env: envs,
)
endif