summaryrefslogtreecommitdiff
path: root/units/led
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2018-01-17 15:18:24 +0000
committerJonathan Cave <jonathan.cave@canonical.com>2018-01-17 15:18:24 +0000
commit0ff51ae132dce0d14aa19763489cb85f47d70b6f (patch)
treec58e999c151e8e3e12164d24c004adec6f0cf260 /units/led
parent116eddc68ff23cb00a9a9eb52ead11ed994b3b02 (diff)
led: import jobs/testplan/category from p-p-snappy
Diffstat (limited to 'units/led')
-rw-r--r--units/led/category.pxu3
-rw-r--r--units/led/jobs.pxu14
-rw-r--r--units/led/test-plan.pxu18
3 files changed, 35 insertions, 0 deletions
diff --git a/units/led/category.pxu b/units/led/category.pxu
new file mode 100644
index 00000000..416a85be
--- /dev/null
+++ b/units/led/category.pxu
@@ -0,0 +1,3 @@
+unit: category
+id: led
+_name: LEDs
diff --git a/units/led/jobs.pxu b/units/led/jobs.pxu
index 17ce655b..ec69f935 100644
--- a/units/led/jobs.pxu
+++ b/units/led/jobs.pxu
@@ -247,3 +247,17 @@ _description:
determine if it either turned off and on or changed colors.
VERIFICATION:
Did the Microphone Mute LED turn on and off or change color as expected?
+
+id: led/serial
+_summary: Serial ports LED behavior
+_purpose:
+ Check serial ports LED behavior is correct
+_steps:
+ 1. Start the test to send data to all serial ports (/dev/ttyS*)
+_verification:
+ All serial ports LED are on for a few seconds (3-4s)
+plugin: user-interact-verify
+command: echo {0..1024} | tee /dev/ttyS{0..100} &> /dev/null
+user: root
+category_id: led
+estimated_duration: 15
diff --git a/units/led/test-plan.pxu b/units/led/test-plan.pxu
index 4f59af9f..94146f2a 100644
--- a/units/led/test-plan.pxu
+++ b/units/led/test-plan.pxu
@@ -28,3 +28,21 @@ include:
suspend/led_after_suspend/caps-lock
suspend/led_after_suspend/power
suspend/led_after_suspend/touchpad
+
+id: led-full
+unit: test plan
+_name: Led tests
+_description: QA LED tests for IoT devices
+include:
+nested_part:
+ led-manual
+
+id: led-manual
+unit: test plan
+_name: Manual LED tests
+_description: Manual LED tests for IoT devices
+include:
+ led/power
+ led/power-blink-suspend
+ led/bluetooth
+ led/serial