summaryrefslogtreecommitdiff
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2018-10-01 03:30:18 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2018-10-01 03:30:18 +0200
commita6c94d40d1f9ec818a8e22d850f15e76afba6878 (patch)
tree99cfa0907818208e71b1091db7e3337aca577642
parent08f9f0e612cfe90b2d6c3adfc2a5194b363119db (diff)
units:cpu: Only run cpu/cstates on Intel
#ifdef FWTS_ARCH_INTEL See http://kernel.ubuntu.com/git/hwe/fwts.git/tree/src/acpi/cstates/cstates.c#n26
-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 5cd80a0..bb75f6d 100644
--- a/units/cpu/jobs.pxu
+++ b/units/cpu/jobs.pxu
@@ -135,7 +135,9 @@ _description:
plugin:shell
id: cpu/cstates
estimated_duration: 10.0
-requires: executable.name == 'fwts'
+requires:
+ executable.name == 'fwts'
+ cpuinfo.platform not in ("aarch64", "armv7l")
user: root
_summary:
Run C-States tests