summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-12-16 16:39:12 +0000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-12-16 16:39:12 +0000
commitc0438d6aba0d24813dbecbc02d3bb33dc5f50592 (patch)
tree200cf52760343fa0dcdbe55a2f077e14213cd4eb
parent35c4e6047d7011fbc3c0c55242494a3c01a7ee28 (diff)
Android: Linux: merged common HDMI tests
HDMI audio and HDMI input switching were moved to common directory as there is (almost) no difference in execution between OSes. Change-Id: I5d78fb805b48779f1ec5f7cfac966a04be9eef21 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r--generic/hdmi-audio.yaml (renamed from generic/android/audio-hdmi.yaml)16
-rw-r--r--generic/hdmi-input-switch.yaml (renamed from generic/linux/hdmi-input-switch.yaml)9
2 files changed, 15 insertions, 10 deletions
diff --git a/generic/android/audio-hdmi.yaml b/generic/hdmi-audio.yaml
index 92b44c8..158baa3 100644
--- a/generic/android/audio-hdmi.yaml
+++ b/generic/hdmi-audio.yaml
@@ -6,6 +6,9 @@ metadata:
- amit.khare@linaro.org
os:
- android
+ - ubuntu
+ - openembedded
+ - debian
scope:
- functional
devices:
@@ -14,17 +17,18 @@ metadata:
- vexpress-a9
- vexpress-tc2
- arndale
- - hikey
+ - hi6220-hikey
+ - apq8016-sbc
environment:
- manual-test
run:
steps:
- Plug out headset and microphone from the board if applicable.
- - Plug in HDMI cable to connect the board with a monitor or TV which comes with speakers.
- - Download a music file from "http://samplemedia.linaro.org/Audio/" and then transfer it to SD card.
- - Launch "Music" app to play that music file.
+ - Plug in HDMI cable to connect the board with a monitor or TV which comes with speakers (supports HDMI audio)
+ - Download a music file from "http://samplemedia.linaro.org/Audio/" and then transfer it to storage media on device under test
+ - Play back music file using some media player (different players on different OSes)
expected:
- - "Sound of music should be heard clearly from monitor or TV speakers."
- - "No hang, kernel panic and crash during the whole test process."
+ - Sound of music is played back clearly from monitor or TV speakers.
+ - No hang, kernel panic and crash during the whole test process.
diff --git a/generic/linux/hdmi-input-switch.yaml b/generic/hdmi-input-switch.yaml
index 749bbdf..837b514 100644
--- a/generic/linux/hdmi-input-switch.yaml
+++ b/generic/hdmi-input-switch.yaml
@@ -5,6 +5,7 @@ metadata:
maintainer:
- amit.khare@linaro.org
os:
+ - android
- ubuntu
- openembedded
- debian
@@ -18,12 +19,12 @@ metadata:
run:
steps:
- - Connect the output HDMI cable to Monitor/TV.
+ - Connect the device under test HDMI output cable to Monitor/TV.
- Make sure Monitor/TV has display input from at least one other source too.
- - Boot the board to UI.
+ - Boot the device under test to UI.
- Switch input display from Monitor/TV to board and other input source.
- Repeat the process few times.
expected:
- - "Switching HDMI resolutions from UI should work well."
- - "No Kernel panic, crash, hang or any other severe error observed while switching input."
+ - Switching HDMI input works well and doesn't trigger kernel/driver errors on device under test
+ - Switching back to input from device under test works well and UI is displayed on the screen