Adds check to make deploy scenario is also not "none" (default) 57/6757/1
authorTim Rozet <trozet@redhat.com>
Thu, 14 Jan 2016 20:44:28 +0000 (15:44 -0500)
committerJose Lausuch <jose.lausuch@ericsson.com>
Thu, 14 Jan 2016 20:46:40 +0000 (20:46 +0000)
Change-Id: I9727c9b2f1fc35c3eb39f2930bb5dd0684bb570c
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 5509502fa7ebe0555c52afa5d574f4c1bba04eac)

docker/run_tests.sh

index 2cb10e3..bbe0d9e 100755 (executable)
@@ -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