Spdk/test/unit/lib/nvme
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
..
nvme_ctrlr_cmd.c nvme: add Get/Set Feature wrappers with NSID 2018-06-12 17:59:33 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: nvme driver public API extension for Open-Channel 2018-06-12 17:59:33 +00:00
nvme_ctrlr.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvme_ns_cmd.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvme_ns_ocssd_cmd.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvme_ns.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_pcie.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvme_qpair.c nvme: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
nvme_quirks.c nvme: add debug logs for matched quirks 2018-02-23 10:07:39 -05:00
nvme_rdma.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvme.c test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
Makefile test/unit: add nvme_rdma.c unittests 2018-10-09 21:17:17 +00:00