summaryrefslogtreecommitdiff
path: root/automated/utils
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-09-30 05:52:21 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2016-09-30 05:53:34 +0530
commit66a0233d64dcd838d7250932806b40a9594ec97d (patch)
tree29f2f225a4b38fe2c5522060fa0712e01a16d603 /automated/utils
parent92bff7d00b928364e7e2de11caabfcaec5aa1e43 (diff)
send-to-lava: ignore results case
Change-Id: Id01743d67bc24ad2af7321db9afd8395afc07a73 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'automated/utils')
-rwxr-xr-xautomated/utils/send-to-lava.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/utils/send-to-lava.sh b/automated/utils/send-to-lava.sh
index 55cbc6d..2764853 100755
--- a/automated/utils/send-to-lava.sh
+++ b/automated/utils/send-to-lava.sh
@@ -4,7 +4,7 @@ RESULT_FILE="$1"
if [ -f "${RESULT_FILE}" ]; then
while read line; do
- if echo "${line}" | egrep -q ".* +(pass|fail|skip)$"; then
+ if echo "${line}" | egrep -iq ".* +(pass|fail|skip)$"; then
test="$(echo "${line}" | awk '{print $1}')"
result="$(echo "${line}" | awk '{print $2}')"
@@ -13,7 +13,7 @@ if [ -f "${RESULT_FILE}" ]; then
else
echo "<TEST_CASE_ID=${test} RESULT=${result}>"
fi
- elif echo "${line}" | egrep -q ".* +(pass|fail|skip) +[0-9.E-]+ [A-Za-z./]+$"; then
+ elif echo "${line}" | egrep -iq ".* +(pass|fail|skip) +[0-9.E-]+ [A-Za-z./]+$"; then
test="$(echo "${line}" | awk '{print $1}')"
result="$(echo "${line}" | awk '{print $2}')"
measurement="$(echo "${line}" | awk '{print $3}')"