summaryrefslogtreecommitdiff
path: root/units
diff options
authorPMR <pmr@pmr-lander>2018-11-16 03:56:11 +0000
committerPMR <pmr@pmr-lander>2018-11-16 03:56:11 +0000
commitb2cdb6a6ef56c709014f68f94d6c3eb8bd537ccc (patch)
treebc6580653405199e130145f790c10e01cfe031e5 /units
parentf06456d587e07ee76581b68ff6cfdaa5b5eb348b (diff)
parentec9d092738691513a4217d352537add4013e4256 (diff)
Merge #358408 from ~bladernr/plainbox-provider-checkbox:1801963-server-fwts-jobs
Diffstat (limited to 'units')
-rw-r--r--units/firmware/jobs.pxu22
-rw-r--r--units/firmware/test-plan.pxu11
2 files changed, 33 insertions, 0 deletions
diff --git a/units/firmware/jobs.pxu b/units/firmware/jobs.pxu
index 5c8dcee..4dae484 100644
--- a/units/firmware/jobs.pxu
+++ b/units/firmware/jobs.pxu
@@ -74,3 +74,25 @@ user: root
estimated_duration: 0.5
command: ! sudo grep -r "_REV" /sys/firmware/acpi/tables/* | grep [DS]SDT
_description: This Automated test checks misuse of the _REV interface in ACPI DSDT and SSDT tables
+
+plugin:shell
+category_id: com.canonical.plainbox::firmware
+id: firmware/fwts_server
+estimated_duration: 10.0
+requires: executable.name == 'fwts'
+user: root
+_description:
+ Run Firmware Test Suite (fwts) Server Cert selected tests.
+_summary: Run FWTS Server Cert selected tests.
+environ: PLAINBOX_SESSION_SHARE
+command:
+ checkbox-support-fwts_test --server -q -l $PLAINBOX_SESSION_SHARE/fwts_server_results.log
+
+plugin: attachment
+category_id: com.canonical.plainbox::firmware
+estimated_duration: 0.5
+id: firmware/fwts_server_results.log.gz
+command:
+ [ -f $PLAINBOX_SESSION_SHARE/fwts_server_results.log ] && gzip -c $PLAINBOX_SESSION_SHARE/fwts_server_results.log
+_description: Attaches the FWTS Server Cert results log to the submission
+_summary: Attach FWTS Server Cert test log to submission
diff --git a/units/firmware/test-plan.pxu b/units/firmware/test-plan.pxu
new file mode 100644
index 0000000..62b4e05
--- /dev/null
+++ b/units/firmware/test-plan.pxu
@@ -0,0 +1,11 @@
+id: server-firmware
+unit: test plan
+_name: Server Firmware Tests
+_description:
+ Server Focused Firmware Tests
+mandatory_include:
+ firmware/fwts_server
+ firmware/fwts_results.log.gz
+include:
+bootstrap_include:
+ fwts