diff options
author | Diego Russo <diego.russo@arm.com> | 2019-02-08 13:11:41 +0000 |
---|---|---|
committer | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2019-02-08 16:29:00 +0000 |
commit | 199a8022e79c845e578a55da0db481fa85ce1420 (patch) | |
tree | fa78d04df159b044aafb3ae64a249bad2a0be892 | |
parent | b4a4cdcea3038b5f932b7037ef376975383e7271 (diff) |
Lower case of test resultsHEADmasterlinaro-mbl
LAVA 2019.01 accepts test results only in lower case
Change-Id: I00fbb67586b5fae938c097c6540a51f7671604b1
Signed-off-by: Diego Russo <diego.russo@arm.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
-rwxr-xr-x | automated/utils/send-to-lava.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/utils/send-to-lava.sh b/automated/utils/send-to-lava.sh index ace3de9..a51a661 100755 --- a/automated/utils/send-to-lava.sh +++ b/automated/utils/send-to-lava.sh @@ -9,7 +9,7 @@ if [ -f "${RESULT_FILE}" ]; then while read -r line; do if echo "${line}" | egrep -iq ".* +(pass|fail|skip)$"; then test="$(echo "${line}" | awk '{print $1}')" - result="$(echo "${line}" | awk '{print $2}')" + result="$(echo "${line}" | awk '{print tolower($2)}')" if [ "${lava_test_case}" -eq 0 ]; then lava-test-case "${test}" --result "${result}" @@ -18,7 +18,7 @@ if [ -f "${RESULT_FILE}" ]; then fi elif echo "${line}" | egrep -iq ".*+ (pass|fail|skip)+ .*+"; then test="$(echo "${line}" | awk '{print $1}')" - result="$(echo "${line}" | awk '{print $2}')" + result="$(echo "${line}" | awk '{print tolower($2)}')" measurement="$(echo "${line}" | awk '{print $3}')" units="$(echo "${line}" | awk '{print $4}')" |