Spdk/mk
Paul Luse be74ecf79a test: add one unit test showing example of ut_mock wrap
This patch shows how to use the spdk_mock library which now only
consists of --wrap capability for a few functions.

Next will be a patch that provides a generic mock capability to
use either the --wrap feature or a combination of globals and
stubs to make adding more UT easier wrt mocking. After that is
in place nvme_ut.c will be updated to use the new library for
all mocking.

Change-Id: I1a6ffb722da043bb70bd4cfe1afa7c5e39a0fccb
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/365074
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-06-15 13:46:19 -04:00
..
ioat.unittest.mk build: define SPDK_LIB_LIST to simplify building dependencies and linker args 2016-11-22 11:45:48 -07:00
json.unittest.mk json: add printf-style spdk_json_write_string_fmt() 2016-11-22 16:32:35 -07:00
nvme.libtest.mk build: define SPDK_LIB_LIST to simplify building dependencies and linker args 2016-11-22 11:45:48 -07:00
nvme.unittest.mk test: add one unit test showing example of ut_mock wrap 2017-06-15 13:46:19 -04:00
nvmf.unittest.mk nvmf: split discovery service into its own file 2017-03-17 15:55:36 -07:00
spdk.app.mk vhost: add a library and app for userspace vhost-scsi processing 2017-03-06 12:44:35 -07:00
spdk.common.mk Add thread sanitizer to configure options 2017-05-26 13:17:14 -04:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.lib.mk build: define SPDK_LIB_LIST to simplify building dependencies and linker args 2016-11-22 11:45:48 -07:00
spdk.mock.unittest.mk test: add wrap capability 2017-06-08 19:24:54 -04:00
spdk.modules.mk bdev/error: Add new bdev/error to inject errors in bdev layer. 2017-05-18 07:56:14 -07:00
spdk.subdirs.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00