Commit cd34605b authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

test/nvme-cli: build against current SPDK revision



Rather than building against some local version of SPDK from the
nvme-cli checkout, build against the SPDK version that autotest is
currently testing.

Change-Id: Ifbb1dde1ace9247929f499e31ab6401503ec18d2
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/402378


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarSeth Howell <seth.howell5141@gmail.com>
Reviewed-by: default avatarGangCao <gang.cao@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 86922ce0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@ if [ `uname` = Linux ]; then
fi

if [ -d $spdk_nvme_cli ]; then
	# Build against the version of SPDK under test
	rm -f "$spdk_nvme_cli/spdk"
	ln -sf "$rootdir" "$spdk_nvme_cli/spdk"

	bdfs=$(iter_pci_class_code 01 08 02)
	bdf=$(echo $bdfs|awk '{ print $1 }')
	cd $spdk_nvme_cli