summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-01-14 15:44:28 -0500
committerTim Rozet <trozet@redhat.com>2016-01-14 15:44:28 -0500
commit5509502fa7ebe0555c52afa5d574f4c1bba04eac (patch)
treef9b381b4ac93e04bbca9f7864200486e723eb4fc
parente751fb5714578eee85ce397d023eb83f5221cc67 (diff)
Adds check to make deploy scenario is also not "none" (default)
Change-Id: I9727c9b2f1fc35c3eb39f2930bb5dd0684bb570c Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xdocker/run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh
index 2cb10e3e8..bbe0d9ede 100755
--- a/docker/run_tests.sh
+++ b/docker/run_tests.sh
@@ -32,7 +32,7 @@ offline=false
report=""
# Get the list of runnable tests
# Check if we are in CI mode
-if [ -n "$DEPLOY_SCENARIO" ]; then
+if [[ -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" ]]; then
testcase=`cat /home/opnfv/functest/conf/testcase-list.txt`
arr_test=("$testcase")
else