[Functest] Remove former way to execute run_tests 33/43633/2
authorJose Lausuch <jalausuch@suse.com>
Fri, 29 Sep 2017 14:02:12 +0000 (16:02 +0200)
committerJose Lausuch <jalausuch@suse.com>
Fri, 29 Sep 2017 14:03:33 +0000 (16:03 +0200)
It was used in Danube and there are no more Functest jobs
that are runnign stable/danube branch.

Change-Id: If297487767e8e8ead39aa4a10f58c6554be197b0
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
jjb/functest/functest-loop.sh
jjb/functest/functest-suite.sh

index 00a5f13..a590d9f 100755 (executable)
@@ -2,11 +2,7 @@
 set +e
 
 [[ "$PUSH_RESULTS_TO_DB" == "true" ]] && flags+="-r"
-if [ "$BRANCH" == 'master' ]; then
-    cmd="run_tests -t all ${flags}"
-else
-    cmd="python ${FUNCTEST_REPO_DIR}/functest/ci/run_tests.py -t all ${flags}"
-fi
+cmd="run_tests -t all ${flags}"
 
 container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1)
 docker exec $container_id $cmd
index 9b7f135..469a577 100755 (executable)
@@ -10,11 +10,7 @@ global_ret_val=0
 
 tests=($(echo $FUNCTEST_SUITE_NAME | tr "," "\n"))
 for test in ${tests[@]}; do
-    if [ "$BRANCH" == 'master' ]; then
-        cmd="run_tests -t $test"
-    else
-        cmd="python /home/opnfv/repos/functest/functest/ci/run_tests.py -t $test"
-    fi
+    cmd="run_tests -t $test"
     docker exec $container_id $cmd
     let global_ret_val+=$?
 done