Spdk/test
Darek Stojaczyk f30e745cc5 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/+/448411
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-03-21 12:24:27 +00:00
..
app make: simplify rdma dependency linking 2018-09-14 22:56:46 +00:00
bdev test/bdev: change crypto device conf based on environment 2018-10-24 23:29:28 +00:00
blobfs scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
blobstore vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
common autotest: introduce SPDK_RUN_FUNCTIONAL_TEST 2019-03-21 12:24:27 +00:00
config_converter scripts: add config converter 2018-09-18 15:24:40 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env memory: fix contiguous memory calculation for unaligned buffers 2018-12-06 17:08:38 +00:00
event test/event_perf: use less memory 2018-07-26 05:28:52 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/iscsi: exclude *.o from ext4test.sh rsync 2018-10-15 22:20:17 +00:00
json_config vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
lvol Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
nvme mk: introduce ldflags print target 2018-10-16 12:40:43 +00:00
nvmf test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
pmem Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
rpc_client jsonrpc_client: make ID and method optional when starting request 2018-10-18 16:07:37 +00:00
spdkcli vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
unit blob: Remove snpashot from the list only on blob deletion 2018-12-14 17:59:20 +00:00
vhost test/vhost: Fix vhost live migration 2018-10-15 22:49:06 +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