Commit 441ca5fb authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

autotest: add timing markers for vhost tests



We should add more granular timing markers within the vhost tests, but
for now, at least measure the timing of the top-level test categories.

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


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-by: default avatarDariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 85c146ef
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -127,11 +127,27 @@ fi

if [ $SPDK_TEST_VHOST -eq 1 ]; then
	timing_enter vhost

	timing_enter integrity_blk
	run_test ./test/vhost/spdk_vhost.sh --integrity-blk
	timing_exit integrity_blk

	timing_enter integrity
	run_test ./test/vhost/spdk_vhost.sh --integrity
	timing_exit integrity

	timing_enter integrity_lvol_scsi
	run_test ./test/vhost/spdk_vhost.sh --integrity-lvol-scsi
	timing_exit integrity_lvol_scsi

	timing_enter integrity_lvol_blk
	run_test ./test/vhost/spdk_vhost.sh --integrity-lvol-blk
	timing_exit integrity_lvol_blk

	timing_enter lvol
	run_test ./test/lvol/lvol.sh --test-cases=1,2,3,5,6,7,10,11,12,13,16,17,21,22,23
	timing_exit lvol

	timing_exit vhost
fi