summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2018-02-28 16:04:56 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2018-05-29 17:07:04 +0100
commit1f1d8d05136c92834f9acfcdeedc7b66f8f83e25 (patch)
tree79b388be24fc36f154932dca2cfd5f224c9e689c
parentb5fb184d4351c50501475fa9de4ab0165acb8c6f (diff)
mbl: add btle present test
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
l---------automated/linux/mbl/mbl_btle_present.sh1
-rw-r--r--automated/linux/mbl/mbl_btle_present.yaml25
-rw-r--r--plans/mbl/mbl-smoke.yaml3
3 files changed, 29 insertions, 0 deletions
diff --git a/automated/linux/mbl/mbl_btle_present.sh b/automated/linux/mbl/mbl_btle_present.sh
new file mode 120000
index 0000000..d18256e
--- /dev/null
+++ b/automated/linux/mbl/mbl_btle_present.sh
@@ -0,0 +1 @@
+mbl_kernel_test \ No newline at end of file
diff --git a/automated/linux/mbl/mbl_btle_present.yaml b/automated/linux/mbl/mbl_btle_present.yaml
new file mode 100644
index 0000000..f106319
--- /dev/null
+++ b/automated/linux/mbl/mbl_btle_present.yaml
@@ -0,0 +1,25 @@
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: mbl_btle_present
+ description: "Check the BlueTooth device is present."
+ 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_btle_present.sh -s "${SKIP_INSTALL}"
+ - if [[ $? == 0 ]]; then RESULT=pass; else RESULT=fail; fi
+ - echo "mbl_btle_present $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 2782f77..38a45ce 100644
--- a/plans/mbl/mbl-smoke.yaml
+++ b/plans/mbl/mbl-smoke.yaml
@@ -15,6 +15,9 @@ metadata:
tests:
automated:
+ - path: automated/linux/mbl/mbl_btle_present.yaml
+ timeout: 1800
+ repository: https://git.linaro.org/qa/test-definitions.git
- path: automated/linux/mbl/mbl_pressure_present.yaml
timeout: 1800
repository: https://git.linaro.org/qa/test-definitions.git