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: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-09-27 10:51:29 -07:00
parent 93c986865f
commit 634786e583
3 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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

View File

@ -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