commit | 825f9744ed93ef4e11bb10c22fe7cb0a7c548f8a | [log] [tgz] |
---|---|---|
author | Grace Kao <grace.kao@intel.com> | Thu May 28 09:39:33 2015 +0800 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Tue Jun 02 02:20:39 2015 +0000 |
tree | 77e09e3c132144e94275f2554a52df2f19eaf269 | |
parent | 585b7b68efb37226bc2b6cf25e90ea88c208e3c1 [diff] |
PSROccupancyTest: Add the board gandof in test Add to check the board gandof in test. BUG=chrome-os-partner:38665 TEST=`test_that -b gandof {Remote_IP} power_PSROccupancyTest` Change-Id: I0cf4b711fa792623feae245e4bc3e95df885e38a Signed-off-by: Grace Kao <grace.kao@intel.com> Reviewed-on: https://chromium-review.googlesource.com/273651 Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
diff --git a/client/site_tests/power_PSROccupancyTest/power_PSROccupancyTest.py b/client/site_tests/power_PSROccupancyTest/power_PSROccupancyTest.py index bd18e06..ed0c6f8 100644 --- a/client/site_tests/power_PSROccupancyTest/power_PSROccupancyTest.py +++ b/client/site_tests/power_PSROccupancyTest/power_PSROccupancyTest.py
@@ -52,9 +52,9 @@ def run_once(self): - if utils.get_board() != 'samus': + if utils.get_board() not in ['samus', 'gandof']: raise error.TestNAError( - 'Trying to run PSR tests on non-samus board.') + 'Trying to run PSR tests on unsupported board.') psr_enabled = self._is_psr_enabled() if (not psr_enabled and graphics_utils.call_xrandr('--output eDP1 --set psr on')):