Skip to content
Snippets Groups Projects
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: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
parent 45fbf7fa
No related branches found
No related tags found
No related merge requests found
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())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment