From 4ee832243946d9a093074d86baad5a303ce19588 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Thu, 4 Jan 2018 10:08:03 -0700 Subject: [PATCH] test: allow specifying RUN_NIGHTLY from command line This can be useful when running nightly tests locally. Signed-off-by: Jim Harris Change-Id: I54d375f9e8d13d8c6dcdac3d81bbf9dc1fcd77f0 Reviewed-on: https://review.gerrithub.io/393681 Reviewed-by: Daniel Verkamp Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker --- scripts/autotest_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/autotest_common.sh b/scripts/autotest_common.sh index 0c656fe71..8b390f83a 100755 --- a/scripts/autotest_common.sh +++ b/scripts/autotest_common.sh @@ -9,7 +9,8 @@ set -e PS4=' \t \$ ' ulimit -c unlimited -export RUN_NIGHTLY=0 +: ${RUN_NIGHTLY:=0} +export RUN_NIGHTLY if [[ ! -z $1 ]]; then if [ -f $1 ]; then