Commit 634786e5 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

test/io_channel: add to autotest and unittest.sh



Also remove libspdk_util.a from the io_channel_ut linker command, since
it already includes the tested C file directly and doesn't depend on any
other util library functions.

Change-Id: I4b3fc4d57b5af4524b53664365f6ba52686e4b80
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 93c98686
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

SPDK_LIBS += $(SPDK_ROOT_DIR)/lib/log/libspdk_log.a \
	     $(SPDK_ROOT_DIR)/lib/util/libspdk_util.a \
	     $(SPDK_ROOT_DIR)/lib/cunit/libspdk_cunit.a

CFLAGS += $(DPDK_INC)
+1 −0
Original line number Diff line number Diff line
@@ -9,5 +9,6 @@ source $rootdir/scripts/autotest_common.sh
timing_enter util

$testdir/bit_array/bit_array_ut
$testdir/io_channel/io_channel_ut

timing_exit util
+2 −0
Original line number Diff line number Diff line
@@ -49,5 +49,7 @@ test/lib/scsi/lun/lun_ut
#test/lib/scsi/scsi_bdev/scsi_bdev_ut

make -C test/lib/util/bit_array CONFIG_WERROR=y
make -C test/lib/util/io_channel CONFIG_WERROR=y

test/lib/util/bit_array/bit_array_ut
test/lib/util/io_channel/io_channel_ut