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

Unified Diff: build/android/pylib/host_driven/test_case.py

Issue 1281923003: [Android] Add --blacklist-file as a command-line option. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: build/android/pylib/host_driven/test_case.py
diff --git a/build/android/pylib/host_driven/test_case.py b/build/android/pylib/host_driven/test_case.py
index 6ff4c5fec5353b5388c8c053e54327b724b08faf..817fce66008915a77bbdad6426e27e29492d2e7c 100644
--- a/build/android/pylib/host_driven/test_case.py
+++ b/build/android/pylib/host_driven/test_case.py
@@ -155,7 +155,8 @@ class HostDrivenTestCase(object):
start_ms = int(time.time()) * 1000
done = False
for test_filter in test_filters:
- tests = test_pkg.GetAllMatchingTests(None, None, test_filter)
+ tests = test_pkg.GetAllMatchingTests(
+ None, None, test_filter, [self.device])
# Filters should always result in >= 1 test.
if len(tests) == 0:
raise Exception('Java test filter "%s" returned no tests.'

Powered by Google App Engine
This is Rietveld 408576698