Spdk/test/unit/lib/bdev
Konrad Sztyber 3816dbf89b test/unit: remove unnecessary mock definitions
Added -ffunction-sections / --gc-sections to allow the linker to remove
unused functions when linking test executables. This reduces the number
of required mock definitions to those actually required by tested code.

Change-Id: I22725ce82e22675a7c2d28c8227e586f2cd65023
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/436319
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-01-13 00:48:20 +00:00
..
bdev_raid.c thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
bdev.c bdev: optimize coversion of bytes to blocks 2019-01-02 08:31:59 +00:00
crypto.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
gpt build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
mt test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
part.c test: Use ut_multithread framework in bdev/part test 2018-12-23 00:56:01 +00:00
pmem thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
scsi_nvme.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
vbdev_lvol.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
Makefile bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00