numam-spdk/test
Darek Stojaczyk 2fc1a2d056 test/vhost/initiator: inline create_bdev_config()
This function is not really reusable. Inline it to have
a simple, top-to-bottom test flow.

This already shows the test is unnecessarily complicated.
If anything with lib/virtio goes wrong this file is the last
script that will be used for debugging. It would be OK if
there simpler tests for lib/virtio, but there are not.

While here, also add comments for the three major steps
in this test script because it finally looks sane.

Change-Id: Ic8ae611d853d4a685d38aa3112d16e396b0e110d
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1552
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2020-06-05 09:03:50 +00:00
..
app nvme/rdma: Use RDMA provider API to create/destroy qpair 2020-05-20 12:03:50 +00:00
bdev tests: Switch to $SPDK_TEST_STORAGE for writing out bigger tmp files 2020-05-20 14:17:02 +00:00
blobfs test/blobfs: fix a bug that $SPDK_TEST_STORAGE is NULL 2020-06-02 09:52:20 +00:00
blobstore check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
common rxe_cfg: Drop librxe and port minimal rxe_cfg functionality to Bash 2020-06-05 09:02:27 +00:00
compress test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +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 test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +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 check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
fuzz check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/iscsi_tgt: silence shellcheck SC2029 2020-06-02 09:49:06 +00:00
json_config tests: Switch to $SPDK_TEST_STORAGE for writing out bigger tmp files 2020-05-20 14:17:02 +00:00
lvol check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
make test/check_so_deps: add suppression for spdk_net_impl 2020-06-03 01:08:45 +00:00
nvme test/nvme: add reset to ns manage test if AER ns change not supported 2020-06-05 09:01:44 +00:00
nvmf rxe_cfg: Drop librxe and port minimal rxe_cfg functionality to Bash 2020-06-05 09:02:27 +00:00
ocf test/ocf: Drop .ini config in favor of json 2020-05-20 14:14:50 +00:00
openstack test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +00:00
pmem check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
rpc rpc: Add test for pluggable RPCs 2020-05-18 10:14:09 +00:00
rpc_client lib/event: fix printing non-null-terminated strings 2020-04-06 07:48:37 +00:00
spdkcli rpc: Deprecate max_qpairs_per_ctrlr parameter 2020-06-04 07:20:45 +00:00
unit lib/ftl: Keep tracing functions under define flag 2020-06-05 09:03:31 +00:00
vhost test/vhost/initiator: inline create_bdev_config() 2020-06-05 09:03:50 +00:00
vmd check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +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