From 4e7cf79eac867d585fde06c5df61c4af7c17a5a0 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Sat, 12 Nov 2016 08:10:15 +0100 Subject: [PATCH] TT#4760 move scenario_ids.yml to log just after run_sipp * fix ./get_results.sh -T invocation Change-Id: I45f00d98612bd5f16428d01395cb09fbc93bbce5 --- bin/check.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/check.sh b/bin/check.sh index 4ceafe97..ff6ce1be 100755 --- a/bin/check.sh +++ b/bin/check.sh @@ -574,6 +574,10 @@ if [ -z "$SKIP_RUNSIPP" ]; then echo "$(date) - Running sipp scenarios" run_sipp echo "$(date) - Done sipp" + + echo "$(date) - move scenario_ids.yml file" + mv "${SCEN_CHECK_DIR}/scenario_ids.yml" "${LOG_DIR}" + echo "$(date) - Done" else if [ -n "${JSON_KAM}" ] ; then echo "$(date) - get kamailio cfgt files" @@ -613,10 +617,7 @@ if [ -z "${SKIP_TESTS}" ]; then find "${SCEN_CHECK_DIR}" -type f -name '*test.yml' -exec rm {} \; echo "$(date) - Generating tests files" "${BIN_DIR}/generate_tests.sh" -d \ - "${SCEN_CHECK_DIR}" "${SCEN_CHECK_DIR}/scenario_ids.yml" "${PROFILE}" - echo "$(date) - copy scenario_ids.yml file" - cp "${SCEN_CHECK_DIR}/scenario_ids.yml" "${LOG_DIR}" - echo "$(date) - Done" + "${SCEN_CHECK_DIR}" "${LOG_DIR}/scenario_ids.yml" "${PROFILE}" for t in ${SCEN_CHECK_DIR}/*_test.yml; do test_filepath "$t"