From 9acb995ededc87a7b0b100ab61ff1ef47cc3df82 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Thu, 19 Apr 2018 16:45:58 -0700 Subject: [PATCH] test/common: Don't override autorun-spdk.conf Change-Id: I1b75ffaccdf909ce1ce11f4464efdd539a7754a7 Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/408410 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Ben Walker --- test/common/config/vm_setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/common/config/vm_setup.sh b/test/common/config/vm_setup.sh index d4f52fdbb..bdaead346 100755 --- a/test/common/config/vm_setup.sh +++ b/test/common/config/vm_setup.sh @@ -235,7 +235,8 @@ sudo make install # probably best to only run the tests that you believe your changes have modified along with # Scanbuild and check format. This is because running the whole suite of tests in series can # take ~40 minutes to complete. -cat > ~/autorun-spdk.conf << EOF +if [ ! -e ~/autorun-spdk.conf ]; then + cat > ~/autorun-spdk.conf << EOF # assign a value of 1 to all of the pertinent tests SPDK_BUILD_DOC=1 SPDK_BUILD_IOAT_KMOD=1 @@ -261,3 +262,4 @@ SPDK_TEST_LVOL=1 SPDK_RUN_ASAN=1 SPDK_RUN_UBSAN=1 EOF +fi