summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2018-02-28 17:16:02 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2018-05-29 17:07:04 +0100
commitb9876bf04dc61e75f6e7ca64ba1de23a379b046c (patch)
treee4fbc0a091c218ec1ae1e35aab9d9a099ce1e2bf
parent8288c863a09fadca4e9ef8854f83270ab7314981 (diff)
mbl: read pressure device temperature sensor
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
l---------automated/linux/mbl/mbl_pressure_temp.sh1
-rw-r--r--automated/linux/mbl/mbl_pressure_temp.yaml25
-rw-r--r--plans/mbl/mbl-smoke.yaml3
3 files changed, 29 insertions, 0 deletions
diff --git a/automated/linux/mbl/mbl_pressure_temp.sh b/automated/linux/mbl/mbl_pressure_temp.sh
new file mode 120000
index 0000000..d18256e
--- /dev/null
+++ b/automated/linux/mbl/mbl_pressure_temp.sh
@@ -0,0 +1 @@
+mbl_kernel_test \ No newline at end of file
diff --git a/automated/linux/mbl/mbl_pressure_temp.yaml b/automated/linux/mbl/mbl_pressure_temp.yaml
new file mode 100644
index 0000000..4e00e95
--- /dev/null
+++ b/automated/linux/mbl/mbl_pressure_temp.yaml
@@ -0,0 +1,25 @@
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: mbl_pressure_temp
+ description: "Read the pressure device temperature value."
+ maintainer:
+ - ryan.harkin@linaro.org
+ os:
+ - openembedded
+ scope:
+ - functional
+ devices:
+ - imx7s-warp
+ - raspberrypi3
+
+params:
+ SKIP_INSTALL: "False"
+
+run:
+ steps:
+ - cd ./automated/linux/mbl/
+ - mkdir output
+ - ./mbl_pressure_temp.sh -s "${SKIP_INSTALL}"
+ - if [[ $? == 0 ]]; then RESULT=pass; else RESULT=fail; fi
+ - echo "mbl_pressure_temp $RESULT" > output/result.txt
+ - ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/plans/mbl/mbl-smoke.yaml b/plans/mbl/mbl-smoke.yaml
index 573b2dc..34bc9b8 100644
--- a/plans/mbl/mbl-smoke.yaml
+++ b/plans/mbl/mbl-smoke.yaml
@@ -30,6 +30,9 @@ tests:
- path: automated/linux/mbl/mbl_pressure_present.yaml
timeout: 1800
repository: https://git.linaro.org/qa/test-definitions.git
+ - path: automated/linux/mbl/mbl_pressure_temp.yaml
+ timeout: 1800
+ repository: https://git.linaro.org/qa/test-definitions.git
- path: automated/linux/mbl/mbl_magn_present.yaml
timeout: 1800
repository: https://git.linaro.org/qa/test-definitions.git