summaryrefslogtreecommitdiff
path: root/units/socketcan
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2018-08-13 11:14:46 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2018-08-13 11:14:46 +0100
commit8d091b74057f9781ad46d53bfa4812dadacff031 (patch)
tree634c48dc0fb1819e3cf1db04f4ee327231a7f98e /units/socketcan
parent9199e7e87ea8bdf20bca79ea50f77189cdc0ea9f (diff)
socketcan: add after-suspend flags and test plans
Diffstat (limited to 'units/socketcan')
-rw-r--r--units/socketcan/jobs.pxu9
-rw-r--r--units/socketcan/test-plan.pxu33
2 files changed, 40 insertions, 2 deletions
diff --git a/units/socketcan/jobs.pxu b/units/socketcan/jobs.pxu
index 46bb31e..74fd8ca 100644
--- a/units/socketcan/jobs.pxu
+++ b/units/socketcan/jobs.pxu
@@ -29,6 +29,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 2.0
+flags: also-after-suspend
command:
BASH_XTRACEFD=1
set -ex
@@ -49,6 +50,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 2.0
+flags: also-after-suspend
command:
BASH_XTRACEFD=1
set -ex
@@ -69,6 +71,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 2.0
+flags: also-after-suspend
command:
BASH_XTRACEFD=1
set -ex
@@ -90,6 +93,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 2.0
+flags: also-after-suspend
imports: from com.canonical.plainbox import manifest
requires: manifest.socket_can_echo_server_running == 'False'
command:
@@ -113,6 +117,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 2.0
+flags: also-after-suspend
imports: from com.canonical.plainbox import manifest
requires: manifest.socket_can_echo_server_running == 'False'
command:
@@ -136,6 +141,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 2.0
+flags: also-after-suspend
imports: from com.canonical.plainbox import manifest
requires: manifest.socket_can_echo_server_running == 'False'
command:
@@ -162,6 +168,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 5.0
+flags: also-after-suspend
imports: from com.canonical.plainbox import manifest
requires: manifest.socket_can_echo_server_running == 'True'
command:
@@ -189,6 +196,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 5.0
+flags: also-after-suspend
imports: from com.canonical.plainbox import manifest
requires: manifest.socket_can_echo_server_running == 'True'
command:
@@ -216,6 +224,7 @@ category_id: socketcan
plugin: shell
user: root
estimated_duration: 5.0
+flags: also-after-suspend
imports: from com.canonical.plainbox import manifest
requires: manifest.socket_can_echo_server_running == 'True'
command:
diff --git a/units/socketcan/test-plan.pxu b/units/socketcan/test-plan.pxu
index c4e343e..0e60f3b 100644
--- a/units/socketcan/test-plan.pxu
+++ b/units/socketcan/test-plan.pxu
@@ -8,15 +8,33 @@ include:
socketcan/send_packet_remote_.*
+id: after-suspend-socketcan-auto-remote
+unit: test plan
+_name: SocketCAN Tests (Automated, Remote, After Suspend)
+_description:
+ SocketCAN Tests (Automated, Remote, After Suspend)
+include:
+ after-suspend-socketcan/send_packet_remote_.*
+
+
id: socketcan-auto-local
unit: test plan
-_name: SocketCAN Tests, (Automated, Local)
+_name: SocketCAN Tests (Automated, Local)
_description:
- SocketCAN Tests, (Automated, Local)
+ SocketCAN Tests (Automated, Local)
include:
socketcan/send_packet_local_.*
+id: after-suspend-socketcan-auto-local
+unit: test plan
+_name: SocketCAN Tests (Automated, Local, After Suspend)
+_description:
+ SocketCAN Tests (Automated, Local, After Suspend)
+include:
+ after-suspend-socketcan/send_packet_local_.*
+
+
id: socketcan-full
unit: test plan
_name: SocketCAN Tests
@@ -26,3 +44,14 @@ include:
nested_part:
socketcan-auto-remote
socketcan-auto-local
+
+
+id: after-suspend-socketcan-full
+unit: test plan
+_name: SocketCAN Tests (After Suspend)
+_description:
+ SocketCAN Tests (After Suspend)
+include:
+nested_part:
+ after-suspend-socketcan-auto-remote
+ after-suspend-socketcan-auto-local