TT#116103 print selected scenarios from file

Change-Id: I1bcd79030efb2e077ba170531f0be7eeec8e00c9
mr10.0
Victor Seva 5 years ago
parent 74bab46165
commit 7e515eadd4

@ -50,8 +50,10 @@ elif [ -f "${BASE_DIR}/log/${GROUP}/run_failed.txt" ]; then
echo "$(date) - run_failed.txt detected"
cp "${BASE_DIR}/log/${GROUP}/run_failed.txt" "${BASE_DIR}/failed.txt"
fi
if ! [ -f "${BASE_DIR}/failed.txt" ]; then
if [ -f "${BASE_DIR}/failed.txt" ]; then
echo "*** failed.txt ***"
cat "${BASE_DIR}/failed.txt"
else
echo "$(date) - no failed scenarios found[${GROUP}]"
exit 1
fi

@ -26,8 +26,10 @@ usage() {
get_scenarios() {
if [ -n "${SCEN_FILE}" ]; then
echo "$(date) - scenarios from file"
while read -r t; do
SCEN+=( "${t}" )
echo -e "\\t* ${t}"
done < "${SCEN_FILE}"
else
while read -r t; do

@ -32,8 +32,10 @@ SCEN=()
get_scenarios() {
if [ -n "${SCEN_FILE}" ]; then
echo "$(date) - scenarios from file"
while read -r t; do
SCEN+=( "${t}" )
echo -e "\\t* ${t}"
done < "${SCEN_FILE}"
else
while read -r t; do

Loading…
Cancel
Save