Fix graphics_GLBench: ignore ectool temperatures on ARM.
BUG=chromium:357980
TEST=Ran on graphics_GLBench daisy. Got non-matching images due to
crbug.com/357880. Temperatures looked fine.
Change-Id: I5d013733caa0a494dbbf023ae7789d98ffa70873
Reviewed-on: https://chromium-review.googlesource.com/192421
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
diff --git a/client/bin/site_utils.py b/client/bin/site_utils.py
index d734e90..293c64a 100644
--- a/client/bin/site_utils.py
+++ b/client/bin/site_utils.py
@@ -612,8 +612,9 @@
Uses ectool to return a list of all sensor temperatures in Celsius.
"""
temperatures = []
- # TODO(ihf): On my spring ectool temps all returns 200K for all sensors.
- if 'spring' in get_board():
+ # TODO(ihf): On all ARM boards I tested 'ectool temps all' returns 200K
+ # for all sensors. Remove this check once crbug.com/358342 is fixed.
+ if 'arm' in utils.get_arch():
return temperatures
try:
full_cmd = 'ectool temps all'