test/vhost: Eliminate BASE_DIR from common.sh
Trying to use rootdir and testdir throughout Change-Id: I0a5026e5aa8c65b7d9eddef47c4822c3efce8d1a Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454795 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
ad15da1317
commit
8be1517d74
@ -3,8 +3,7 @@ set -e
|
||||
: ${SPDK_VHOST_VERBOSE=false}
|
||||
: ${QEMU_PREFIX="/usr/local/qemu/spdk-3.0.0"}
|
||||
|
||||
BASE_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]}))
|
||||
SPDK_BUILD_DIR=$BASE_DIR/../../
|
||||
SPDK_BUILD_DIR=$rootdir
|
||||
|
||||
TEST_DIR=$(readlink -f $SPDK_BUILD_DIR/..)
|
||||
|
||||
@ -25,7 +24,7 @@ mkdir -p $TEST_DIR
|
||||
#
|
||||
# Source config describing QEMU and VHOST cores and NUMA
|
||||
#
|
||||
source $BASE_DIR/common/autotest.config
|
||||
source $rootdir/test/vhost/common/autotest.config
|
||||
|
||||
function vhosttestinit()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user