autotest: disable ASAN when SPDK_TEST_BLOCKDEV

At the time of SPDK 19.04 release the blockdev tests
were run on machines without libasan installed. A few
months after the release we've merged a fairly big
patch series enabling blockdev to be run with ASAN
and we've installed libasan on all CI machines.

19.04.x doesn't have this patch series and currently
fails to start fio on CI.

We don't want to cherry-pick the entire series, so just
explicitly disable ASAN in our test scripts whenever
blockdev tests are run.

Change-Id: Ib5e26932b5dfd736611ffabd4b055459ec25e59f
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/462820
This commit is contained in:
Darek Stojaczyk 2019-07-22 10:40:02 +02:00
parent 50a116dbe5
commit f6dfa72703

View File

@ -73,6 +73,11 @@ else
export DEPENDENCY_DIR
fi
if [ $SPDK_TEST_BLOCKDEV -eq 1 ]; then
# blockdev.sh in SPDK 19.04 is not able to run with ASAN
export SPDK_RUN_ASAN=0
fi
if [ ! -z "$HUGEMEM" ]; then
export HUGEMEM
fi