Index: chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py |
diff --git a/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py |
index 2f4e056cbad44919ed26c8ecb42272aadf4e2289..8ee5edd6df530ee5aa62d04492e2fb45dd11c0d3 100644 |
--- a/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py |
+++ b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_UITest/desktopui_UITest.py |
@@ -7,6 +7,12 @@ from autotest_lib.client.bin import site_chrome_test |
class desktopui_UITest(site_chrome_test.ChromeTestBase): |
version = 1 |
- def run_once(self): |
- self.run_test('ui_tests', '') |
+ binary_to_run='ui_tests' |
+ blacklist = [] |
+ def run_once(self, group=0, total_groups=4): |
+ tests_to_run = self.filter_bad_tests( |
+ self.generate_test_list(self.binary_to_run, group, total_groups)) |
+ tests_to_run.extend(map(lambda(x): '-'+x, self.blacklist)) |
+ self.run_chrome_test(self.binary_to_run, |
+ '--gtest_filter=%s' % ':'.join(tests_to_run)) |