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 <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/393723
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Daniel Verkamp 2018-01-04 20:56:49 -07:00 committed by Jim Harris
parent 4393f43fbe
commit 053fbb2300

View File

@ -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