Merge "securedlab: Use Pharos git sub for PDF validation"
[releng.git] / jjb / functest / functest-alpine.sh
index a4d8287..fe1888f 100755 (executable)
@@ -28,7 +28,7 @@ run_test() {
     cmd_opt='prepare_env start && run_tests -r -t $test_name'
     ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value"
     echo 0 > ${ret_val_file}
-    # Determine which Functest image should be used for the test case
+    # Determine which Functest image should be used for the test case
     case ${test_name} in
         connection_check|api_check|snaps_health_check)
             FUNCTEST_IMAGE=opnfv/functest-healthcheck
@@ -124,9 +124,11 @@ set +e
 
 if [[ ${DEPLOY_SCENARIO} =~ ^os-.* ]]; then
     if [ ${FUNCTEST_MODE} == 'testcase' ]; then
+        echo "FUNCTEST_MODE=testcase, FUNCTEST_SUITE_NAME=${FUNCTEST_SUITE_NAME}"
         run_test ${FUNCTEST_SUITE_NAME}
     elif [ ${FUNCTEST_MODE} == 'tier' ]; then
-        tiers= (${FUNCTEST_TIER})
+        echo "FUNCTEST_MODE=tier, FUNCTEST_TIER=${FUNCTEST_TIER}"
+        tiers=(${FUNCTEST_TIER})
         run_tiers ${tiers}
     else
         if [ ${DEPLOY_TYPE} == 'baremetal' ]; then