aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-01-14 15:44:28 -0500
committerJose Lausuch <jose.lausuch@ericsson.com>2016-01-14 20:46:40 +0000
commit822e22975778006780728e2759640fae8d4c1c02 (patch)
treef9b381b4ac93e04bbca9f7864200486e723eb4fc
parentcc08a30af870dd9152c4c596ba7ffa75640c222a (diff)
Adds check to make deploy scenario is also not "none" (default)
Change-Id: I9727c9b2f1fc35c3eb39f2930bb5dd0684bb570c Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 5509502fa7ebe0555c52afa5d574f4c1bba04eac)
-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