Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion libnvme/test/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,26 @@ if want_fabrics
],
)

test('libnvme - uriparser', uriparser)
test('libnvme - uriparser', uriparser)

test_fabrics = executable(
'test-fabrics',
['test-fabrics.c'],
# -fgnu89-inline: '#define static' (used to expose static helpers
# for unit testing) turns 'static inline' into plain 'inline'.
# Under C99, plain 'inline' has external linkage and may require an
# external symbol definition that doesn't exist for header-only
# inline functions. GNU89 semantics treat it as an inlining hint
# only, avoiding the linker failure in -static builds.
c_args: ['-fgnu89-inline'],
dependencies: [
config_dep,
ccan_dep,
libnvme_test_dep,
],
)

test('libnvme - fabrics', test_fabrics)
endif

if conf.get('HAVE_NETDB')
Expand Down
Loading
Loading