Spdk/test
Darek Stojaczyk 898bad7d0c autotest: introduce SPDK_RUN_FUNCTIONAL_TEST
Introduced a new variable to run functional tests.
It's enabled by default, and can be manually disabled
on systems where e.g. only unit tests are run.

SPDK_RUN_FUNCTIONAL_TEST is a supplement to SPDK_UNITTEST.
The two are completely independent - both can be enabled,
disabled, or run in any combination.

The new variable is prefixed SPDK_RUN_ as it aligns nicely
with SPDK_RUN_CHECK_FORMAT, SPDK_RUN_VALGRIND, and
SPDK_RUN_ASAN, all of which control how much is tested.
SPDK_UNITTEST should eventually follow the same pattern
as well.

This gives us 2 layers of configuration:
SPDK_TEST_* <- what is tested
SPDK_RUN_* <- how it is tested

The following would run UT+ASAN for FTL and BlobFS, without
running their functional tests:

```
SPDK_RUN_FUNCTIONAL_TEST=0
SPDK_RUN_ASAN=1
SPDK_TEST_UNITTEST=1
SPDK_TEST_FTL=1
SPDK_TEST_BLOBFS=1
```

Change-Id: I9e592fa41aa2df8e246eca2bb9161b6da6832130
Signed-off-by: Seth Howell <seth.howell@intel.com>
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/442327 (master)
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447261
Tested-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-03-08 08:55:02 +00:00
..
app test/app: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
bdev bdevperf: remove extra blockdev_heads_destroy() in failure path 2019-01-30 06:37:49 +00:00
blobfs app/parse: add default return value for app parse function 2019-01-22 01:03:39 +00:00
blobstore histograms: tests for bdev histograms 2019-01-24 21:50:18 +00:00
common autotest: introduce SPDK_RUN_FUNCTIONAL_TEST 2019-03-08 08:55:02 +00:00
config_converter config_converter: Remove deprecated construct_nvmf_subsystem RPC 2019-01-29 16:17:03 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env test/env_dpdk_post_init: use only a single core 2019-01-22 14:01:57 +00:00
event test/event: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
ftl bdev_ftl: Added FTL bdev functional tests 2019-01-29 17:33:10 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
json_config test/json_config: check if config is cleared properly 2019-01-16 14:17:10 +00:00
lvol lvol: exposed marking lvol bdev as read only 2019-01-18 19:02:36 +00:00
nvme test/nvmf/nvme-cli: don't run nvme-cli as secondary process 2019-01-29 20:54:13 +00:00
nvmf test/nvmf/nvme-cli: don't run nvme-cli as secondary process 2019-01-29 20:54:13 +00:00
ocf OCF: rpc: add get_ocf_bdevs method 2019-01-28 18:53:31 +00:00
pmem test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli QoS/Bdev: add the Read/Write separate bandwidth rate limits 2019-01-22 23:21:43 +00:00
unit iscsi: properly handle partial keys 2019-01-29 17:44:12 +00:00
vhost test/vhost: vhost benchmark scripts update 2019-01-29 20:23:50 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00