test: use test_env for bit_array_ut
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ia02ac32beb502f2d3cbe739210619e4fd3b938d0 Reviewed-on: https://review.gerrithub.io/c/432920 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
7d4684524b
commit
45593f39d9
@ -36,18 +36,7 @@
|
||||
#include "spdk_cunit.h"
|
||||
|
||||
#include "util/bit_array.c"
|
||||
|
||||
void *
|
||||
spdk_dma_realloc(void *buf, size_t size, size_t align, uint64_t *phys_addr)
|
||||
{
|
||||
return realloc(buf, size);
|
||||
}
|
||||
|
||||
void
|
||||
spdk_dma_free(void *buf)
|
||||
{
|
||||
free(buf);
|
||||
}
|
||||
#include "common/lib/test_env.c"
|
||||
|
||||
static void
|
||||
test_1bit(void)
|
||||
|
Loading…
Reference in New Issue
Block a user