diff options
author | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2014-06-10 18:48:33 +0530 |
---|---|---|
committer | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2014-06-10 18:53:06 +0530 |
commit | 323b7951fc0b6de19746eb4c3fc6c75ea70c5c96 (patch) | |
tree | ef4ac7077798a674c7a2e4c860ee5728a57fca30 | |
parent | 8d25ff24f47729317c2bf8babf99ea2499f25058 (diff) | |
download | pm-qa-323b7951fc0b6de19746eb4c3fc6c75ea70c5c96.tar.gz |
cpufreq: execute subtest completely
- If the increase frequency test fails the test returns halfway.
This is affecting the number of tests reported in the logs,
removing it.
- bug 1304373
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
-rwxr-xr-x | cpufreq/cpufreq_07.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpufreq/cpufreq_07.sh b/cpufreq/cpufreq_07.sh index c9d49f0..f8f9e8e 100755 --- a/cpufreq/cpufreq_07.sh +++ b/cpufreq/cpufreq_07.sh @@ -53,17 +53,11 @@ check_ondemand() { kill $pid check "'ondemand' increase frequency on load" "test \"$curfreq\" == \"$maxfreq\"" - if [ "$?" != "0" ]; then - return 1 - fi sleep 1 curfreq=$(get_frequency $cpu) check "'ondemand' decrease frequency on idle" "test \"$curfreq\" == \"$minfreq\"" - if [ "$?" != "0" ]; then - return 1 - fi return 0 fi |