Spdk/test/env
Jim Harris eb7e1f7e97 test/env: don't link env libraries for memory unit tests
We don't really need to link the env for these unit tests.
We were doing it mostly for convenience.  We can easily
leave out the env library, and just define a few stubs
for the functions that the memory unit tests call.

This helps prepare for the next patch that will use
rte_malloc/rte_free to allocate mapping structures.  By
not linking the env libraries, we can just stub
rte_malloc/rte_free with simple malloc/free, rather than
doing a full env initialization to get rte_malloc/rte_free
working.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I007290299ab801fbc1b8fd6f633937314d4b1f8c

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/476517
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
2019-12-04 15:29:57 +00:00
..
env_dpdk_post_init test/nvme: Allow NVMe with 0 namespaces in tests 2019-07-08 09:39:09 +00:00
mem_callbacks test/mem_callbacks: Fix compilation on ARM 2019-10-24 19:21:06 +00:00
memory test/env: don't link env libraries for memory unit tests 2019-12-04 15:29:57 +00:00
pci env: add spdk_pci_device_unclaim() 2019-09-18 20:34:39 +00:00
vtophys ut/cunit: added missing semicolon on CU_ASSERT macros 2019-07-24 18:21:22 +00:00
env.sh test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
Makefile test: add mem_callbacks unit test 2019-03-12 13:58:57 +00:00