diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2016-05-13 15:38:44 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2016-05-13 15:54:37 +0100 |
commit | 08fed781293cf957cbb5c810d516130bcb59d63f (patch) | |
tree | efe3e6af2df1020bcaad4b697e1cb888d8119bf8 /ubuntu | |
parent | ea81d24e17a8b7e24fc9960593cc09a849dce1c6 (diff) |
ubuntu: added 96board-gpio test
Test assumes that the LAB running the test is equipped with one of the
96boards board that has Seeed sensors board plugged as mezzanine.
Mezzanine needs to connect base board GPIO to microcontroller GPIO.
Change-Id: Id0751513c27aabe19b5b5059eec57d3e32058497
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/96boards-gpio.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ubuntu/96boards-gpio.yaml b/ubuntu/96boards-gpio.yaml new file mode 100644 index 0000000..41779ae --- /dev/null +++ b/ubuntu/96boards-gpio.yaml @@ -0,0 +1,45 @@ +metadata: + name: 96boards-gpio + format: "Lava-Test-Shell Test Definition 1.0" + description: "Low Speed expansion GPIO test" + maintainer: + - milosz.wasilewski@linaro.org + os: + - debian + scope: + - functional + devices: + - hi6220-hikey + - apq8016-sbc + +install: + deps: + - arduino-mk + - python-mraa + + git-repos: + - url: https://git.linaro.org/qa/96boards-lsexpansion-tests.git + destination: ls-expansion-tests + branch: RELEASE + steps: + - export MONITOR_PORT=$MONITOR_PORT + - cd ls-expansion-tests/gpiotest + - ln -s /usr/share/arduino/Arduino.mk Makefile + - make upload reset_stty + +params: + RELEASE: 'master' + MONITOR_PORT: '/dev/tty96B0' + +run: + steps: + - cd ls-expansion-tests/gpiotest + - python writer.py + +parse: + pattern: "^(?P<test_case_id>[a-z0-9_]+)\\s+[a-zA-Z_\\.\\(\\)]+\\s+[\\.]{3}\\s+(?P<result>ok|FAIL|skip)" + fixupdict: + ok: pass + FAIL: fail + skip: skip + ERROR: fail |