summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2018-04-27 08:25:43 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2018-05-29 17:07:04 +0100
commit2fcc6cefd9fc10e857aeed98da5f9bed9afcd731 (patch)
tree8a70fb43b06de1f36829fdb8a5dacbd525bfa05c
parent2b76ddfa24ba58846ef3d01bc42274fdd9540f19 (diff)
fix: mbl_pressure_temp.yaml
Change-Id: I9cdf09c7528e85188f1cdc9142cfc291eefff1eb Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--automated/linux/mbl/mbl_pressure_temp.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/mbl/mbl_pressure_temp.yaml b/automated/linux/mbl/mbl_pressure_temp.yaml
index 4e00e95..813f981 100644
--- a/automated/linux/mbl/mbl_pressure_temp.yaml
+++ b/automated/linux/mbl/mbl_pressure_temp.yaml
@@ -20,6 +20,6 @@ run:
- cd ./automated/linux/mbl/
- mkdir output
- ./mbl_pressure_temp.sh -s "${SKIP_INSTALL}"
- - if [[ $? == 0 ]]; then RESULT=pass; else RESULT=fail; fi
+ - case "$?" in 0) RESULT=pass ;; 1) RESULT=skip ;; *) RESULT=fail ;; esac
- echo "mbl_pressure_temp $RESULT" > output/result.txt
- ../../utils/send-to-lava.sh ./output/result.txt