diff options
author | Chase Qi <chase.qi@linaro.org> | 2016-03-31 17:19:25 +0800 |
---|---|---|
committer | Chase Qi <chase.qi@linaro.org> | 2016-03-31 20:45:39 +0800 |
commit | d7d84beac0c6e2ded46955144bd66926ead5b538 (patch) | |
tree | 734c449325b4e6cf4c06e967431544267935210d | |
parent | 669526a49abe72621463fbb2d8783c1cc353854e (diff) |
Hikey: Add power button test
Change-Id: I308da6682e0a4a3163c64736644fa78b15d9876e
Signed-off-by: Chase Qi <chase.qi@linaro.org>
-rw-r--r-- | hikey/hikey-power-button.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/hikey/hikey-power-button.yaml b/hikey/hikey-power-button.yaml new file mode 100644 index 0000000..08da070 --- /dev/null +++ b/hikey/hikey-power-button.yaml @@ -0,0 +1,30 @@ +metadata: + name: hikey-power-button + format: "Manual Test Definition 1.0" + description: "Test if the behaviour of hikey power button follows the definition in hardware user guide." + maintainer: + - chase.qi@linaro.org + os: + - android + - debian + scope: + - functional + devices: + - hi6220-hikey + environment: + - manual-test + +run: + steps: + - Power off the board and remove Auto Power Jumper(link 1-2) if it is installed. + - Press power button and hold more a second to see if it can power on the board. + - Boot to OS, press and release power button to see if it can power off the board. + - Boot to OS, press and hold power buttion for >4 seconds to see if it can reset the board. + + expected: + # Please find Hikey hardware user guide on the below page + # https://github.com/96boards/documentation/wiki/HiKeyGettingStarted#96boards-hikey + - Test result should match the following behaviours defined in hardware user guide. + - A press and hold will power on the board if the Auto Power Jumper is not installed. + - A press and release will then power off the board. + - A press and hold for >4 seconds will reset the board. |