Spdk/test/nvme
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
..
aer lib/nvme: add spdk_nvme_transport_available_by_name 2020-01-16 09:10:38 +00:00
cuse test/cuse: run namespace managment test if device supports it 2020-06-17 07:20:55 +00:00
deallocated_value test/nvme/deallocated_value: switch to spdk_*malloc(). 2019-07-05 03:48:51 +00:00
e2edp test/nvme_dp: return failure correctly when test it in CI 2020-06-12 15:40:22 +00:00
err_injection nvme: replace cdw10 with specific union command 2019-12-06 14:43:41 +00:00
overhead test/nvme: Increment current_queue_depth only if I/O submission succeeded 2020-05-29 14:58:30 +00:00
perf build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
reserve test/nvme_reserve: set host identifier at runtime 2020-06-15 15:27:50 +00:00
reset test/nvme: Increment current_queue_depth only if I/O submission succeeded 2020-05-29 14:58:30 +00:00
sgl test/nvme/sgl: switch to spdk_*malloc(). 2019-07-16 10:51:47 +00:00
startup test/nvme: Add nvme startup tool. 2019-10-23 17:03:56 +00:00
hotplug.sh build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
hw_hotplug.sh build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
Makefile test/nvme: dynamic nvme cuse devices update test 2020-06-05 09:01:44 +00:00
nvme_opal.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
nvme_rpc.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
nvme.sh test/cuse: move all nvme-cuse tests under single script 2020-06-17 07:20:55 +00:00
spdk_nvme_cli.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00