selftests: cpufreq: conform test to TAP
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Thu, 18 Apr 2024 15:31:45 +0000 (20:31 +0500)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 May 2024 19:57:20 +0000 (13:57 -0600)
commitc7e84706fd3be0b56ae23c6a8930a9e5615a869a
tree7de7d24d216c1bdcfd6ed1f18e23369165fcf0e2
parent557f1375275e04ef92d22aa14203e4b763fbd22b
selftests: cpufreq: conform test to TAP

This test outputs lots of information. Let's conform the core part of
the test to TAP and leave the information printing messages for now.
Include ktap_helpers.sh to print conformed logs. Use KSFT_* macros to
return the correct exit code for the kselftest framework and CIs to
understand the exit status.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/cpufreq/cpufreq.sh
tools/testing/selftests/cpufreq/main.sh
tools/testing/selftests/cpufreq/module.sh