summaryrefslogtreecommitdiff
path: root/units
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2017-12-20 13:55:40 +0100
committerSylvain Pineau <sylvain.pineau@canonical.com>2017-12-20 13:55:40 +0100
commitfd46f124ba5da8c982b378b28f5224e8393755b0 (patch)
treed87819b058d2f80952c57c8fb9c3162f3d284536 /units
parent8abcc6bf092d2f6af943f113e38a06c6afac0ba9 (diff)
Import plainbox-provider-checkbox_0.41.0.orig.tar.gzupstream-0.41.0patched-0.41.0-1
Diffstat (limited to 'units')
-rw-r--r--units/miscellanea/test-plan.pxu5
-rw-r--r--units/usb/test-plan.pxu86
-rw-r--r--units/usb/usb-c.pxu16
3 files changed, 90 insertions, 17 deletions
diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu
index f8aa86b..adf771f 100644
--- a/units/miscellanea/test-plan.pxu
+++ b/units/miscellanea/test-plan.pxu
@@ -18,7 +18,7 @@ include:
firmware/fwts_desktop_diagnosis_results.log.gz
firmware/fwts_wakealarm.* certification-status=blocker
firmware/fwts_uefirtvariable.* certification-status=blocker
- firmware/no_ACPI_REV_interface
+ firmware/no_ACPI_REV_interface certification-status=blocker
miscellanea/oops certification-status=blocker
miscellanea/oops_results.log
miscellanea/dmitest_client
@@ -32,8 +32,11 @@ _description:
Miscellaneous client tests (fwts, dmi, oops)
(certification blockers only)
include:
+ firmware/fwts_desktop_diagnosis
+ firmware/fwts_desktop_diagnosis_results.log.gz
firmware/fwts_wakealarm.* certification-status=blocker
firmware/fwts_uefirtvariable.* certification-status=blocker
+ firmware/no_ACPI_REV_interface certification-status=blocker
miscellanea/oops certification-status=blocker
miscellanea/oops_results.log
bootstrap_include:
diff --git a/units/usb/test-plan.pxu b/units/usb/test-plan.pxu
index 96ece6d..5b4e88b 100644
--- a/units/usb/test-plan.pxu
+++ b/units/usb/test-plan.pxu
@@ -23,14 +23,14 @@ unit: test plan
_name: USB Type-C tests
_description: USB Type-C tests
include:
- usb-c/c-to-a-adapter/hid certification-status=non-blocker
- usb-c/c-to-a-adapter/insert certification-status=non-blocker
- usb-c/c-to-a-adapter/storage-automated certification-status=non-blocker
- usb-c/c-to-a-adapter/remove certification-status=non-blocker
- usb-c/hid certification-status=non-blocker
- usb-c/insert certification-status=non-blocker
- usb-c/storage-automated certification-status=non-blocker
- usb-c/remove certification-status=non-blocker
+ usb-c/c-to-a-adapter/hid certification-status=blocker
+ usb-c/c-to-a-adapter/insert certification-status=blocker
+ usb-c/c-to-a-adapter/storage-automated certification-status=blocker
+ usb-c/c-to-a-adapter/remove certification-status=blocker
+ usb-c/hid certification-status=blocker
+ usb-c/insert certification-status=blocker
+ usb-c/storage-automated certification-status=blocker
+ usb-c/remove certification-status=blocker
id: after-suspend-usb-cert-full
unit: test plan
@@ -50,6 +50,20 @@ include:
suspend/usb3_storage_automated_after_suspend certification-status=blocker
suspend/usb3_remove_after_suspend certification-status=blocker
+id: after-suspend-usb-c-cert-full
+unit: test plan
+_name: USB Type-C tests (after suspend)
+_description: USB Type-C tests (after suspend)
+include:
+ after-suspend-manual-usb-c/c-to-a-adapter/hid certification-status=blocker
+ after-suspend-manual-usb-c/c-to-a-adapter/insert certification-status=blocker
+ after-suspend-manual-usb-c/c-to-a-adapter/storage-automated certification-status=blocker
+ after-suspend-manual-usb-c/c-to-a-adapter/remove certification-status=blocker
+ after-suspend-manual-usb-c/hid certification-status=blocker
+ after-suspend-manual-usb-c/insert certification-status=blocker
+ after-suspend-manual-usb-c/storage-automated certification-status=blocker
+ after-suspend-manual-usb-c/remove certification-status=blocker
+
id: usb-cert-blockers
unit: test plan
_name: USB tests (certification blockers only)
@@ -70,6 +84,20 @@ include:
usb3/storage-automated certification-status=blocker
usb3/remove certification-status=blocker
+id: usb-c-cert-blockers
+unit: test plan
+_name: USB Type-C tests (certification blockers only)
+_description: USB Type-C tests (certification blockers only)
+include:
+ usb-c/c-to-a-adapter/hid certification-status=blocker
+ usb-c/c-to-a-adapter/insert certification-status=blocker
+ usb-c/c-to-a-adapter/storage-automated certification-status=blocker
+ usb-c/c-to-a-adapter/remove certification-status=blocker
+ usb-c/hid certification-status=blocker
+ usb-c/insert certification-status=blocker
+ usb-c/storage-automated certification-status=blocker
+ usb-c/remove certification-status=blocker
+
id: after-suspend-usb-cert-blockers
unit: test plan
_name: USB tests (after suspend, certification blockers only)
@@ -87,3 +115,45 @@ include:
suspend/usb3_insert_after_suspend certification-status=blocker
suspend/usb3_storage_automated_after_suspend certification-status=blocker
suspend/usb3_remove_after_suspend certification-status=blocker
+
+id: after-suspend-usb-c-cert-blockers
+unit: test plan
+_name: USB Type-C tests (after suspend, certification blockers only)
+_description: USB Type-C tests (after suspend, certification blockers only)
+include:
+ after-suspend-manual-usb-c/c-to-a-adapter/hid certification-status=blocker
+ after-suspend-manual-usb-c/c-to-a-adapter/insert certification-status=blocker
+ after-suspend-manual-usb-c/c-to-a-adapter/storage-automated certification-status=blocker
+ after-suspend-manual-usb-c/c-to-a-adapter/remove certification-status=blocker
+ after-suspend-manual-usb-c/hid certification-status=blocker
+ after-suspend-manual-usb-c/insert certification-status=blocker
+ after-suspend-manual-usb-c/storage-automated certification-status=blocker
+ after-suspend-manual-usb-c/remove certification-status=blocker
+
+id: usb-preinserted
+unit: test plan
+_name: Automated USB write/read/compare tests on storage devices
+_description: Automated USB write/read/compare tests on storage devices
+include:
+ usb/storage-preinserted
+
+id: after-suspend-usb-preinserted
+unit: test plan
+_name: After suspend automated USB write/read/compare tests on storage devices
+_description: After suspend automated USB write/read/compare tests on storage devices
+include:
+ after-suspend-usb/storage-preinserted
+
+id: usb3-preinserted
+unit: test plan
+_name: Automated USB 3 write/read/compare tests on storage devices
+_description: Automated USB 3 write/read/compare tests on storage devices
+include:
+ usb3/storage-preinserted
+
+id: after-suspend-usb3-preinserted
+unit: test plan
+_name: After suspend automated USB 3 write/read/compare tests on storage devices
+_description: After suspend automated USB 3 write/read/compare tests on storage devices
+include:
+ after-suspend-usb3/storage-preinserted
diff --git a/units/usb/usb-c.pxu b/units/usb/usb-c.pxu
index 9a77664..d2004c2 100644
--- a/units/usb/usb-c.pxu
+++ b/units/usb/usb-c.pxu
@@ -10,7 +10,7 @@ _steps:
_verification:
Did the device work as expected?
plugin: manual
-flags: also-after-suspend
+flags: also-after-suspend-manual
category_id: com.canonical.plainbox::usb
imports: from com.canonical.plainbox import manifest
requires: manifest.has_usb_type_c == 'True'
@@ -30,7 +30,7 @@ _verification:
The verification of this test is automated. Do not change the
automatically selected result.
plugin: user-interact
-flags: also-after-suspend
+flags: also-after-suspend-manual
user: root
command:
if [[ -v SNAP ]]; then
@@ -50,7 +50,7 @@ _description:
This test is automated and executes after the usb-c/c-to-a-adapter/insert test
is run.
plugin: shell
-flags: also-after-suspend
+flags: also-after-suspend-manual
user: root
command:
if [[ -v SNAP ]]; then
@@ -78,7 +78,7 @@ _verification:
The verification of this test is automated. Do not change the
automatically selected result.
plugin: user-interact
-flags: also-after-suspend
+flags: also-after-suspend-manual
user: root
command:
if [[ -v SNAP ]]; then
@@ -105,7 +105,7 @@ _steps:
_verification:
Did the device work as expected?
plugin: manual
-flags: also-after-suspend
+flags: also-after-suspend-manual
category_id: com.canonical.plainbox::usb
imports: from com.canonical.plainbox import manifest
requires: manifest.has_usb_type_c == 'True'
@@ -124,7 +124,7 @@ _verification:
The verification of this test is automated. Do not change the
automatically selected result.
plugin: user-interact
-flags: also-after-suspend
+flags: also-after-suspend-manual
user: root
command:
if [[ -v SNAP ]]; then
@@ -145,7 +145,7 @@ _description:
This test is automated and executes after the usb-c/insert test
is run.
plugin: shell
-flags: also-after-suspend
+flags: also-after-suspend-manual
user: root
command:
if [[ -v SNAP ]]; then
@@ -172,7 +172,7 @@ _verification:
The verification of this test is automated. Do not change the
automatically selected result.
plugin: user-interact
-flags: also-after-suspend
+flags: also-after-suspend-manual
user: root
command:
if [[ -v SNAP ]]; then