From 441ca5fb5b66a634e4530b8b83b624593c2dfc4a Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 9 Nov 2017 16:38:44 -0700 Subject: [PATCH] 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: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/386558 Tested-by: SPDK Automated Test System Reviewed-by: Karol Latecki Reviewed-by: Dariusz Stojaczyk Reviewed-by: Jim Harris --- autotest.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/autotest.sh b/autotest.sh index a3d22b4cb1..ae7ce6a70d 100755 --- a/autotest.sh +++ b/autotest.sh @@ -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