numam-spdk/test
Michal Berger a8d016910a test/common: Make sure that extdebug is enabled as soon as possible
if given script, which executes under the debug tracer, fails before
xtrace_restore() is called, the BASH_ARGC[] will miss all the arguments
which were passed down till that very point. Similar case can be
experienced after tracer is disabled as then all the arguments hold by
BASH_ARG{C,V}[] become unavailable (i.e. until tracer is enabled again).

Since there's no actual benefit from toggling the extdebug (in fact, it
could break DEBUG|RETURN traps if ever used), enable it once when
autotest_common.sh is sourced and keep it enabled throughout entire
execution of given script.

Change-Id: I01001ead1570967a2e550d993f85f12b9f62553e
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/477
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-02-11 08:38:08 +00:00
..
app doc: Fix Markdown MD032 linter warnings 2020-02-06 09:46:06 +00:00
bdev bdevperf: Change return type of bdevperf_test() to void and include its error handling 2020-02-10 10:26:28 +00:00
blobfs test/blobfs: Refactor exit behavior 2020-02-10 10:24:01 +00:00
blobstore lib/log: do not put trailing whitespace in fdump 2020-02-04 20:08:02 +00:00
common test/common: Make sure that extdebug is enabled as soon as possible 2020-02-11 08:38:08 +00:00
compress module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +00:00
config_converter test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +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 test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
event test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
ftl bdev/ftl: "use_append" parameter for bdev_ftl_create RPC 2020-02-04 18:10:01 +00:00
fuzz test/fuzz fix end of test behavior. 2020-01-20 09:59:49 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/common: make gdb_attach global 2020-01-27 17:39:52 +00:00
json_config test/json_config: Freebsd supports python3 now so use it 2020-01-17 14:07:39 +00:00
lvol test/lvol: rewrite destroy_lvol_store_nonexistent_lvs_uuid to bash 2020-02-04 19:27:53 +00:00
make test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
nvme test/nvme: Don't wait for spdk_stub0 if stub dies prematurely 2020-02-04 20:22:23 +00:00
nvmf test/nvmf: disable bdevperf tests on soft-roce 2020-01-30 16:52:10 +00:00
ocf test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
unit test/nvme: correct nvme controller version 2020-02-10 10:25:38 +00:00
vhost test/vhost: Replace old style config with json in initiator test 2020-02-10 10:25:11 +00:00
vmd test: move report_test_completion into run_test 2020-01-14 07:49:08 +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