diff options
| author | PMR <pmr@pmr-lander> | 2019-11-27 08:03:18 +0000 |
|---|---|---|
| committer | PMR <pmr@pmr-lander> | 2019-11-27 08:03:18 +0000 |
| commit | a5e554634708f0167076c967698c522d631e29f0 (patch) | |
| tree | 114d2d0b8594ed47bd5d394394261b3258fc1682 /units | |
| parent | 4e7d008d17c2f55d58d5953a1d512f60abf6eb27 (diff) | |
| parent | 3d0451ab8d6c12a2acc30900bac6440f1c0c4c87 (diff) | |
Merge #375983 from ~bladernr/plainbox-provider-checkbox:1853877-fix-scaling-test-bug
modify cpu/scaling test to use new cpuinfo.governors resource and skip execution on systems that don't support the userspace governor.
Diffstat (limited to 'units')
| -rw-r--r-- | units/cpu/jobs.pxu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu index a027aa9..6ccc3fe 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' + 'performance' in cpuinfo.governors user: root environ: PLAINBOX_SESSION_SHARE LD_LIBRARY_PATH SNAP command: |
