Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: chrome/test/chromeos/autotest/files/client/site_tests/desktopui_BrowserTest/desktopui_BrowserTest.py

Issue 7838033: Added login to UITests and added tests to filter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments + new blacklist files. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromeos/autotest/files/client/site_tests/desktopui_BrowserTest/desktopui_BrowserTest.py
diff --git a/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_BrowserTest/desktopui_BrowserTest.py b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_BrowserTest/desktopui_BrowserTest.py
index fd7025789f169ed2727748bab93e19fba0b7ffff..9e3c51d955f0c728dab59939df30e0c034dbc5bf 100644
--- a/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_BrowserTest/desktopui_BrowserTest.py
+++ b/chrome/test/chromeos/autotest/files/client/site_tests/desktopui_BrowserTest/desktopui_BrowserTest.py
@@ -4,15 +4,11 @@
from autotest_lib.client.cros import chrome_test
from autotest_lib.client.cros import cros_ui_test
-from autotest_lib.client.cros import login
+from blacklists import blacklist, blacklist_vm
class desktopui_BrowserTest(chrome_test.ChromeTestBase, cros_ui_test.UITest):
version = 1
-
binary_to_run='browser_tests'
- # PDF tests blacklisted for now: chromium: 78510
- blacklist = ['PDFBrowserTest.Basic', 'PDFBrowserTest.Scroll',
- 'PDFBrowserTest.FindAndCopy']
def initialize(self, creds='$default'):
chrome_test.ChromeTestBase.initialize(self, False)
@@ -24,7 +20,7 @@ class desktopui_BrowserTest(chrome_test.ChromeTestBase, cros_ui_test.UITest):
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.generate_test_list(self.binary_to_run, group, total_groups),
+ blacklist + blacklist_vm)
self.run_chrome_test(self.binary_to_run,
'--gtest_filter=%s' % ':'.join(tests_to_run))

Powered by Google App Engine
This is Rietveld 408576698