diff options
| -rw-r--r-- | units/cpu/jobs.pxu | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu index a027aa9..a3ebb24 100644 --- a/units/cpu/jobs.pxu +++ b/units/cpu/jobs.pxu @@ -9,7 +9,11 @@ command: if [[ -v SNAP ]]; then export LD_LIBRARY_PATH=$SNAP/usr/lib/fwts:$LD_LIBRARY_PATH fi - checkbox-support-fwts_test -t cpufreq -l ${PLAINBOX_SESSION_SHARE}/scaling_test.log + if grep -q userspace /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors; then + checkbox-support-fwts_test -t cpufreq -l ${PLAINBOX_SESSION_SHARE}/scaling_test.log + else + echo "userspace CPU governor not supported" + fi _summary: Test the CPU scaling capabilities _description: |
