Index: client/site_tests/hardware_Backlight/hardware_Backlight.py |
diff --git a/client/site_tests/hardware_Backlight/hardware_Backlight.py b/client/site_tests/hardware_Backlight/hardware_Backlight.py |
index 868add683480dbb91d02e1fc5c08be3b6ca84cf7..e84eb1ed39134436eb96df52944cc308fbf2670d 100644 |
--- a/client/site_tests/hardware_Backlight/hardware_Backlight.py |
+++ b/client/site_tests/hardware_Backlight/hardware_Backlight.py |
@@ -19,10 +19,12 @@ class hardware_Backlight(test.test): |
except error.CmdError, e: |
raise error.TestFail('Cannot get brightness with backlight-tool') |
max_brightness = int(backlight_tool("--get_max_brightness").rstrip()) |
+ logging.debug("max_brightness = %d" % max_brightness) |
try: |
for i in range(max_brightness + 1): |
backlight_tool("--set_brightness %d" % i) |
result = int(backlight_tool("--get_brightness").rstrip()) |
+ logging.debug("result = %d" % result) |
if i != result: |
raise error.TestFail('Adjusting backlight should change ' \ |
'actual brightness') |