Index: build/android/pylib/instrumentation/dispatch.py |
diff --git a/build/android/pylib/instrumentation/dispatch.py b/build/android/pylib/instrumentation/dispatch.py |
index f9ba21793a57be623416b42867d31216a96732fe..dd3723517623b2b1c878cd5ded78d3e0578111a8 100644 |
--- a/build/android/pylib/instrumentation/dispatch.py |
+++ b/build/android/pylib/instrumentation/dispatch.py |
@@ -33,7 +33,7 @@ def Dispatch(options): |
test_pkg = test_package.TestPackage(options.test_apk_path, |
options.test_apk_jar_path) |
tests = test_pkg._GetAllMatchingTests( |
- options.annotations, options.test_filter) |
+ options.annotations, options.exclude_annotations, options.test_filter) |
if not tests: |
logging.warning('No instrumentation tests to run with current args.') |
return base_test_result.TestRunResults() |