6b1e4e732d
This patch also drops support for automatically unbinding devices from the kernel - run scripts/setup.sh first. Our generic pci interface is now hidden behind include/spdk/pci.h and implemented in lib/util/pci.c. We no longer wrap the calls in nvme_impl.h or ioat_impl.h. The implementation now only uses DPDK and the libpciaccess dependency has been removed. If using a version of DPDK earlier than 16.07, enumerating devices by class code isn't available and only Intel SSDs will be discovered. DPDK 16.07 adds enumeration by class code and all NVMe devices will be correctly discovered. Change-Id: I0e8bac36b5ca57df604a2b310c47342c67dc9f3c Signed-off-by: Ben Walker <benjamin.walker@intel.com>
56 lines
1.3 KiB
Bash
Executable File
56 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
make config.h CONFIG_WERROR=y
|
|
make -C lib/cunit CONFIG_WERROR=y
|
|
make -C lib/log CONFIG_WERROR=y
|
|
|
|
make -C test/lib/nvme/unit CONFIG_WERROR=y
|
|
|
|
test/lib/nvme/unit/nvme_c/nvme_ut
|
|
test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut
|
|
test/lib/nvme/unit/nvme_ctrlr_cmd_c/nvme_ctrlr_cmd_ut
|
|
test/lib/nvme/unit/nvme_ns_cmd_c/nvme_ns_cmd_ut
|
|
test/lib/nvme/unit/nvme_qpair_c/nvme_qpair_ut
|
|
|
|
make -C test/lib/ioat/unit CONFIG_WERROR=y
|
|
|
|
test/lib/ioat/unit/ioat_ut
|
|
|
|
make -C test/lib/json CONFIG_WERROR=y
|
|
|
|
test/lib/json/parse/json_parse_ut
|
|
test/lib/json/util/json_util_ut
|
|
test/lib/json/write/json_write_ut
|
|
|
|
make -C lib/json CONFIG_WERROR=y
|
|
make -C test/lib/jsonrpc CONFIG_WERROR=y
|
|
|
|
test/lib/jsonrpc/server/jsonrpc_server_ut
|
|
|
|
make -C test/lib/log CONFIG_WERROR=y
|
|
|
|
test/lib/log/log_ut
|
|
|
|
make -C test/lib/nvmf CONFIG_WERROR=y
|
|
|
|
test/lib/nvmf/request/request_ut
|
|
test/lib/nvmf/session/session_ut
|
|
test/lib/nvmf/subsystem/subsystem_ut
|
|
|
|
# TODO: allow lib/util to build without DPDK
|
|
#make -C test/lib/scsi CONFIG_WERROR=y
|
|
make -C test/lib/scsi/dev CONFIG_WERROR=y
|
|
make -C test/lib/scsi/lun CONFIG_WERROR=y
|
|
|
|
test/lib/scsi/dev/dev_ut
|
|
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
|