From 053fbb23003f0d34dd75ff86c123681f86a980cb Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 4 Jan 2018 20:56:49 -0700 Subject: [PATCH] autotest.sh: run 'setup.sh status' at startup Record the current state of the system at the beginning of the test run. This exercises the 'status' functionality of setup.sh, which isn't tested otherwise. Change-Id: If5bf3d42fd83c43201fbf5b0b924f5d65711866b Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/393723 Tested-by: SPDK Automated Test System Reviewed-by: Pawel Wodkowski Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- autotest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotest.sh b/autotest.sh index a335c71a7..533dc8bca 100755 --- a/autotest.sh +++ b/autotest.sh @@ -24,6 +24,8 @@ src=$(readlink -f $(dirname $0)) out=$PWD cd $src +./scripts/setup.sh status + if hash lcov; then # setup output dir for unittest.sh export UT_COVERAGE=$out/ut_coverage