summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2018-04-27 16:49:06 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2018-05-29 17:07:04 +0100
commitd460fdf91aef5034681442b10e1651edc262cb1c (patch)
tree578364ef95520a6d3204c73f9cafdb47940558d0
parent777005cf0216c6a1e198a3796269e6acd6f9ec19 (diff)
mbl: use common results output
Rather than generating our own result.txt, use the one generated by the tests. Change-Id: I66966c8da26c1967b2061d4a967d5f9b4cf3da2a Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rwxr-xr-xautomated/linux/mbl/mbl_auto.sh6
-rw-r--r--automated/linux/mbl/mbl_auto.yaml2
2 files changed, 1 insertions, 7 deletions
diff --git a/automated/linux/mbl/mbl_auto.sh b/automated/linux/mbl/mbl_auto.sh
index 8853a69..340825c 100755
--- a/automated/linux/mbl/mbl_auto.sh
+++ b/automated/linux/mbl/mbl_auto.sh
@@ -22,11 +22,5 @@ for test in "${auto_tests[@]}";
do
echo "Running test ${test}"
./${test}
- if [[ $? == 0 ]]; then
- RESULT=pass
- else
- RESULT=fail
- fi
- echo "${test} $RESULT" >> result.txt
done
diff --git a/automated/linux/mbl/mbl_auto.yaml b/automated/linux/mbl/mbl_auto.yaml
index 155cac7..7466b4e 100644
--- a/automated/linux/mbl/mbl_auto.yaml
+++ b/automated/linux/mbl/mbl_auto.yaml
@@ -16,4 +16,4 @@ run:
steps:
- cd ./automated/linux/mbl/
- ./mbl_auto.sh
- - ../../utils/send-to-lava.sh result.txt
+ - ../../utils/send-to-lava.sh ./output/result.txt