Spdk/test/common
Michal Berger 6ca184b027 autotest_common: Don't use cwd for $output_dir
If $output_dir is not set, cwd is used as a designated output dir
throughout the runtime of the script that sourced autotest_common.sh.
This, however, may fail in some particular cases, e.g. when calling
autobuild.sh directly from within the spdk repo. As a result some
*.txt files that are created by scanbuild_make() will end up in the
root of the repo. This causes porcelain_check() to fail as it does
pick these files up after the test is done.

To avoid similar scenarios, simply make sure the desired output dir
is always created and that it resides outside of the repo.

Change-Id: I5b2e142ce9c2a0b8d24d5331f2b52110c9634c67
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2791
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-08-12 07:52:24 +00:00
..
config pkgdep/git: [QAT] Fix logic while checking qat_service status 2020-08-10 11:27:23 +00:00
lib env_dpdk: move NVMe PCI driver definition to the nvme lib 2020-07-24 21:42:26 +00:00
applications.sh test/common: Add spdk_dd to applications.sh 2020-07-23 07:24:08 +00:00
autotest_common.sh autotest_common: Don't use cwd for $output_dir 2020-08-12 07:52:24 +00:00
skipped_build_files.txt lib/makefile: move vhost_user.c into lib/virtio directory 2020-06-09 07:37:43 +00:00
skipped_tests.txt test/cuse: reenable nvme_ns_manage_cuse test case 2020-08-11 08:33:17 +00:00