Index: build/android/pylib/instrumentation/test_jar.py |
diff --git a/build/android/pylib/instrumentation/test_jar.py b/build/android/pylib/instrumentation/test_jar.py |
index 21ce8402b15a8fd2e50c105f19caeae369b3b212..72c07cf96ad1527051b8bc37283d00ba0a9bf28a 100644 |
--- a/build/android/pylib/instrumentation/test_jar.py |
+++ b/build/android/pylib/instrumentation/test_jar.py |
@@ -209,7 +209,7 @@ class TestJar(object): |
# |available_tests| are in adb instrument format: package.path.class#test. |
filter_without_hash = test_filter.replace('#', '.') |
tests = [t for t in available_tests |
- if filter_without_hash in t.replace('#', '.')] |
+ if re.search(filter_without_hash, t.replace('#', '.'))] |
frankf
2014/01/22 18:43:11
The test filter includes '.' in package names whic
|
else: |
tests = available_tests |