1
0
Fork 0
libnvme/test/ioctl/meson.build
Daniel Baumann 6add9877e4
Merging upstream version 1.6.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-16 10:12:19 +01:00

32 lines
719 B
Meson

mock_ioctl = library(
'mock-ioctl',
['mock.c', 'util.c'],
)
discovery = executable(
'test-discovery',
'discovery.c',
dependencies: libnvme_dep,
include_directories: [incdir, internal_incdir],
link_with: mock_ioctl,
)
test('discovery', discovery, env: ['LD_PRELOAD=' + mock_ioctl.full_path()])
features = executable(
'test-features',
'features.c',
dependencies: libnvme_dep,
link_with: mock_ioctl,
)
test('features', features, env: ['LD_PRELOAD=' + mock_ioctl.full_path()])
identify = executable(
'test-identify',
'identify.c',
dependencies: libnvme_dep,
link_with: mock_ioctl,
)
test('identify', identify, env: ['LD_PRELOAD=' + mock_ioctl.full_path()])