On 1 February 2015 at 22:03, Amit Kucheria <amit.kuche...@linaro.org> wrote: > On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen <lisa.ngu...@linaro.org> wrote: >> With this new change, the final result for the cpufreq_09 >> script will always show up and be counted in LAVA. > > Why?
I'll look into this in detail. It was a quick hack since the cpufreq_09 test result wasn't showing up in LAVA with the existing code. Will respin if necessary. >> 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 >> -- Lisa Nguyen, PM-QA test suite co-maintainer Power Management Working Group Linaro.org │ Open source software for ARM SoCs | irc: lisatn | lisa.ngu...@linaro.org _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev