numam-spdk/test
Tomasz Zawadzki 6b19775bd9 test/common: fail the tests if get_nvme_bdfs() returns no devices
Usual way to call get_nvme_bdfs() is to iterate over resulting bdfs.
When no bdfs are returned, most of the scripts do no not execute tests
at all and assume success.

Instead of adding error checking for each and every script for no bdfs,
this patch makes get_nvme_bdfs() exit with test failure.

This assumes that there will never be a test that expects no devices
to be present.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I1e41a885c76ce6cc248fb076bc4f4efd4695ff3c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2836
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
2020-07-06 23:22:59 +00:00
..
app nvme/rdma: Use RDMA provider API to create/destroy qpair 2020-05-20 12:03:50 +00:00
bdev test/bdevio: add data length check for extended LBA format 2020-06-17 07:21:14 +00:00
blobfs build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
blobstore build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
common test/common: fail the tests if get_nvme_bdfs() returns no devices 2020-07-06 23:22:59 +00:00
compress build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
config_converter test/config_converter: Declare $rootdir, $testdir paths 2020-02-20 09:54:15 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
env Revert "env: Use rte_malloc in spdk_mem_register code path when possible" 2020-05-20 14:14:21 +00:00
event lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
external_code test/external_code: set LD_LIBRARY_PATH once. 2020-06-30 07:56:40 +00:00
ftl build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
fuzz check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt test/iscsi: remove nvme bdev controller test case 2020-07-01 07:51:29 +00:00
json_config build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
lvol build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
make test/check_so_deps: limit scope of header checks. 2020-06-29 09:19:46 +00:00
nvme test/common: move nvme-cli compilation to common script 2020-07-06 23:22:59 +00:00
nvmf test/nvmf: always test nvme-cli and build it too 2020-07-06 23:22:59 +00:00
ocf build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
openstack test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +00:00
pmem build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc_client lib/event: fix printing non-null-terminated strings 2020-04-06 07:48:37 +00:00
spdkcli build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
unit test: Enable uring test in CI pool. 2020-07-03 07:31:08 +00:00
vhost test/vhost: enable packed ring for BLK in performance tests 2020-06-15 15:27:25 +00:00
vmd build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00