summaryrefslogtreecommitdiff
diff options
authorDaniel Manrique <roadmr@ubuntu.com>2014-04-24 09:33:12 -0400
committerDaniel Manrique <roadmr@ubuntu.com>2014-04-24 09:33:12 -0400
commit7d2f2127a01ec62c6cfe572909b8d503add80029 (patch)
tree0b9e546a6738ae58e277e61dfa293bc98a16ad20
parent2cf9cfeefbdb2ad79714f70d3f6822f6e2e0040f (diff)
providers:checkbox: Added cpu cstates job.
A log attachment job was also added. Jobs added to relevant whitelists in providers:certification-client
-rw-r--r--jobs/cpu.txt.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/jobs/cpu.txt.in b/jobs/cpu.txt.in
index a88f0c4..caf42a0 100644
--- a/jobs/cpu.txt.in
+++ b/jobs/cpu.txt.in
@@ -64,3 +64,23 @@ requires: 'arm' in cpuinfo.type
command: grep VFP /var/log/syslog
_description:
Validate that the Vector Floating Point Unit is running on ARM device
+
+plugin:shell
+id: cpu/cstates
+estimated_duration: 10.0
+requires:
+ package.name == 'fwts'
+user: root
+_description:
+ Run Firmware Test Suite (fwts) cstates tests.
+environ: PLAINBOX_SESSION_SHARE
+command:
+ fwts_test -l $PLAINBOX_SESSION_SHARE/fwts_cstates_results.log -t cstates
+
+plugin: attachment
+estimated_duration: 0.5
+id: cpu/cstates_results.log
+command:
+ [ -e ${PLAINBOX_SESSION_SHARE}/fwts_cstates_results.log ] && cat ${PLAINBOX_SESSION_SHARE}/fwts_cstates_results.log
+_description: Attaches the FWTS desktop diagnosis results log to the submission
+