Spdk/test
Tomasz Zawadzki f2f1060ed2 test/cuse: run namespace managment test if device supports it
In case when no device supporting Namespace Managment was found,
the test case exits without producing an error.
For example QEMU NVMe emulated device does not support it, thus
only physical devices have to be used right now.

This goes against design of "run_test" function, that when executed
should always run and never silently skip.

This patch adds check whether there is a device support and triggers
the test case only then.

Note that original code for selecting the device is still in original
script. This is to enable running nvme_ns_manage_cuse.sh on its own.

Right now CUSE tests are only enabled on VMs so nvme_ns_manage_cuse,
was added to exception list.

This will soon be reverted as the tests are moved to job that
runs on physical machines.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ie784696c2628b5fe45ce751b3978abcc03118cd9
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2828
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
2020-06-17 07:20:55 +00:00
..
app nvme/rdma: Use RDMA provider API to create/destroy qpair 2020-05-20 12:03:50 +00:00
bdev build: Example applications build to build/example 2020-06-15 15:27:16 +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/cuse: run namespace managment test if device supports it 2020-06-17 07:20:55 +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: use default HUGEMEM in setup.sh 2020-06-02 09:47:48 +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 build: Example applications build to build/example 2020-06-15 15:27:16 +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 check_so_deps: Small refactor 2020-06-09 07:38:10 +00:00
nvme test/cuse: run namespace managment test if device supports it 2020-06-17 07:20:55 +00:00
nvmf build: Example applications build to build/example 2020-06-15 15:27:16 +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 lib/nvmf: Clean up abort AER request operation 2020-06-10 13:54:40 +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