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.' |