summaryrefslogtreecommitdiff
path: root/units/cpu
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2018-02-07 11:47:00 +0100
committerSylvain Pineau <sylvain.pineau@canonical.com>2018-02-07 11:47:00 +0100
commiteedb5c04a5e4441cd79172d3dbf3db51e0108a64 (patch)
tree02ad01bcde163fd9b72fe2bb310bd3bcee0e829f /units/cpu
parentb72a61d4cb498e383211d30308fdb816979405de (diff)
Allow jobs requiring fwts to run from a checkbox snap
Diffstat (limited to 'units/cpu')
-rw-r--r--units/cpu/jobs.pxu9
1 files changed, 3 insertions, 6 deletions
diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu
index bdea273..bf23af7 100644
--- a/units/cpu/jobs.pxu
+++ b/units/cpu/jobs.pxu
@@ -2,8 +2,7 @@ plugin: shell
category_id: com.canonical.plainbox::cpu
id: cpu/scaling_test
estimated_duration: 150.0
-requires:
- package.name == 'fwts' or executable.name == 'fwts'
+requires: executable.name == 'fwts'
user: root
environ: PLAINBOX_SESSION_SHARE LD_LIBRARY_PATH SNAP
command:
@@ -32,8 +31,7 @@ plugin: shell
category_id: com.canonical.plainbox::cpu
id: cpu/maxfreq_test
estimated_duration: 0.6
-requires:
- package.name == 'fwts' or executable.name == 'fwts'
+requires: executable.name == 'fwts'
cpuinfo.platform in ("i386", "x86_64")
user: root
environ: LD_LIBRARY_PATH SNAP
@@ -117,8 +115,7 @@ _description:
plugin:shell
id: cpu/cstates
estimated_duration: 10.0
-requires:
- package.name == 'fwts' or executable.name == 'fwts'
+requires: executable.name == 'fwts'
user: root
_summary:
Run C-States tests