aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjay Singh Rawat <sanjay.rawat@linaro.org>2014-06-10 18:48:33 +0530
committerSanjay Singh Rawat <sanjay.rawat@linaro.org>2014-06-10 18:53:06 +0530
commit323b7951fc0b6de19746eb4c3fc6c75ea70c5c96 (patch)
treeef4ac7077798a674c7a2e4c860ee5728a57fca30
parent8d25ff24f47729317c2bf8babf99ea2499f25058 (diff)
downloadpm-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-xcpufreq/cpufreq_07.sh6
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