The value of the thermal_try_max variable does not change
when running PM-QA. There is no reason to check if the value is
zero if it's hardly used at all.

Signed-off-by: Lisa Nguyen <lisa.ngu...@linaro.org>
---
 Switches.sh           |    3 ---
 thermal/thermal_06.sh |    5 -----
 2 files changed, 8 deletions(-)

diff --git a/Switches.sh b/Switches.sh
index cc59992..1ea1cd9 100644
--- a/Switches.sh
+++ b/Switches.sh
@@ -1,8 +1,5 @@
 # These are switches to enable/disable some tests.
 
-# Thermal tests
-export thermal_try_max=0
-
 # Suspend tests
 export suspend_dbus=0
 export suspend_pmsuspend=1
diff --git a/thermal/thermal_06.sh b/thermal/thermal_06.sh
index 2929605..9d62a07 100755
--- a/thermal/thermal_06.sh
+++ b/thermal/thermal_06.sh
@@ -28,11 +28,6 @@
 . ../include/functions.sh
 . ../include/thermal_functions.sh
 
-if [ "$thermal_try_max" -eq 0 ]; then
-    log_skip "test of trip points being crossed"
-    return 0
-fi
-
 TEST_LOOP=100
 CPU_HEAT_BIN=../utils/heat_cpu
 cpu_pid=0
-- 
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