Adding new functions to core vhost requires adding their equivalent mocks in both vhost_scsi_ut and vhost_blk_ut separatly. By adding common file "test_vhost.c", we can prevent duplicate mock functions. Change-Id: I4542ae092e158b94b25559216e1fc46e10c1a1ae Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com> Reviewed-on: https://review.gerrithub.io/383357 Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
app | ||
blobfs/rocksdb | ||
cpp_headers | ||
iscsi_tgt | ||
lib | ||
lvol | ||
nvmf | ||
pmem | ||
unit | ||
vhost | ||
Makefile | ||
spdk_cunit.h |