With this new change, the final result for the cpufreq_09
script will always show up and be counted in LAVA.

Signed-off-by: Lisa Nguyen <lisa.ngu...@linaro.org>
---
 cpufreq/cpufreq_09.sh |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cpufreq/cpufreq_09.sh b/cpufreq/cpufreq_09.sh
index 3e40cbf..9135fd5 100755
--- a/cpufreq/cpufreq_09.sh
+++ b/cpufreq/cpufreq_09.sh
@@ -59,12 +59,11 @@ save_governors
 supported=$(cat $CPU_PATH/cpu0/cpufreq/scaling_available_governors | grep 
"powersave")
 if [ -z "$supported" ]; then
     log_skip "powersave not supported"
-    return 0
+else
+    for_each_cpu check_powersave    
 fi
 
 trap "restore_governors; sigtrap" HUP INT TERM
 
-for_each_cpu check_powersave
-
 restore_governors
 test_status_show
-- 
1.7.9.5


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to