Adds check to make deploy scenario is also not "none" (default)
authorTim Rozet <trozet@redhat.com>
Thu, 14 Jan 2016 20:44:28 +0000 (15:44 -0500)
committerTim Rozet <trozet@redhat.com>
Thu, 14 Jan 2016 20:44:28 +0000 (15:44 -0500)
Change-Id: I9727c9b2f1fc35c3eb39f2930bb5dd0684bb570c
Signed-off-by: Tim Rozet <trozet@redhat.com>
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