Commit 9a9ed1a3 authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

pytests: test_cpuidle: remove governor check



the governor name doesn't stay the same for newer kernels that use a
psci interface. When the cpu-sleep sleep state is available, we can
expect a governor to be in place too.
Signed-off-by: Martin Kepplinger's avatarMartin Kepplinger <martin.kepplinger@puri.sm>
parent 45fbf7fa
Pipeline #51681 passed with stages
in 7 minutes and 12 seconds
def test_cpuidle_governor():
assert("menu\n" == open("/sys/devices/system/cpu/cpuidle/current_governor_ro").read())
def test_cpuidle():
assert("WFI\n" == open("/sys/devices/system/cpu/cpu0/cpuidle/state0/name").read())
assert("cpu-sleep\n" == open("/sys/devices/system/cpu/cpu0/cpuidle/state1/name").read())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment