summaryrefslogtreecommitdiff
path: root/units
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2019-11-25 09:27:00 -0500
committerJeff Lane <jeffrey.lane@canonical.com>2019-11-25 09:27:00 -0500
commit820086cdf114a2826be91fd8e3d88920657a6450 (patch)
tree624ab5cf86e2b0ca90cded4260b39a49ac5238e5 /units
parent2a28bc0290217186ca76b7d7c010b3ef8975217a (diff)
cpu/jobs.pxu: don't run cpu_scaling on ppc64el or s390x as it isnt applicable there. lp: #1853847
Diffstat (limited to 'units')
-rw-r--r--units/cpu/jobs.pxu4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu
index a027aa9..5b87238 100644
--- a/units/cpu/jobs.pxu
+++ b/units/cpu/jobs.pxu
@@ -2,7 +2,9 @@ plugin: shell
category_id: com.canonical.plainbox::cpu
id: cpu/scaling_test
estimated_duration: 150.0
-requires: executable.name == 'fwts'
+requires:
+ executable.name == 'fwts'
+ cpuinfo.platform not in ("ppc64el", "s390x")
user: root
environ: PLAINBOX_SESSION_SHARE LD_LIBRARY_PATH SNAP
command: