From 7256a2b3ad02e338c8e80d4e9f1561032340a307 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Mon, 18 Jan 2016 19:56:43 +0100 Subject: Fix array of test in run_tests.sh Change-Id: I06a33789f49bf5f7861b0d11fb54a10eb6ac5598 Signed-off-by: jose.lausuch --- docker/run_tests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docker') diff --git a/docker/run_tests.sh b/docker/run_tests.sh index efcbbd20c..18f4a2733 100755 --- a/docker/run_tests.sh +++ b/docker/run_tests.sh @@ -32,9 +32,10 @@ offline=false report="" # Get the list of runnable tests # Check if we are in CI mode -if [[ -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" ]]; then - testcase=`cat /home/opnfv/functest/conf/testcase-list.txt` - arr_test=("$testcase") +tests_file="/home/opnfv/functest/conf/testcase-list.txt" +if [[ -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" ]] &&\ + [[ -f $tests_file ]]; then + arr_test=($(cat $tests_file)) else arr_test=(vping tempest vims rally) fi -- cgit select name='h' onchange='this.form.submit();'> **THIS REPO HAS BEEN ARCHIVED. SEE vineperf**Grokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/INFO
blob: 0ac5b18c4854fbb9fefa322106218e0b21564113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22