From d341c22fae0e9ebbb27cf1a1d2629c6c011f7d23 Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Thu, 20 Oct 2016 14:38:58 +0100 Subject: Moved manual tests to separate directory Change-Id: I1092ce929d4d257dfd596034c605b4be5b0189a0 Signed-off-by: Milosz Wasilewski --- manual/hikey/hikey-power-button.yaml | 30 ++++++++++++++++++++++++++++++ manual/hikey/hikey-user-led.yaml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 manual/hikey/hikey-power-button.yaml create mode 100644 manual/hikey/hikey-user-led.yaml (limited to 'manual/hikey') diff --git a/manual/hikey/hikey-power-button.yaml b/manual/hikey/hikey-power-button.yaml new file mode 100644 index 0000000..08da070 --- /dev/null +++ b/manual/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. diff --git a/manual/hikey/hikey-user-led.yaml b/manual/hikey/hikey-user-led.yaml new file mode 100644 index 0000000..25354ee --- /dev/null +++ b/manual/hikey/hikey-user-led.yaml @@ -0,0 +1,30 @@ +metadata: + name: hikey-user-led + format: "Manual Test Definition 1.0" + description: "Test if user LED working on Hikey board." + maintainer: + - amit.khare@linaro.org + os: + - android + - debian + scope: + - functional + devices: + - hi6220-hikey + environment: + - manual-test + +run: + steps: + - Boot the board successfuly. + - There are four user LEDs on board user_led1, user_led2, user_led3 and user_led4. + - To turn on specific LED, run "echo 1 > /sys/class/leds//brightness" + - To turn off specific LED, run "echo 0 > /sys/class/leds//brightness" + - Run "cat /sys/class/leds//trigger" to show all the triggers available for a particular LED. + - To assign a trigger to any LED, run "echo trigger_name > /sys/class/leds//trigger" + - example: to assign "heartbeat" trigger to user_led3, run "echo heartbeat > /sys/class/leds/user_led3/trigger" + - To remove trigger for any LED, run "echo none > /sys/class/leds//trigger" + + expected: + - LEDs can be turned on and off. + - Triggers can be assigned/removed to/from any LEDs. -- cgit v1.2.3