| Index: build/android/pylib/instrumentation/instrumentation_test_instance.py
|
| diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py
|
| index c2c1f4cb69f771e5b4016a627352391b4c30f7dc..5b0c1595c273827a1c41c0f6fd82c848e0d6de5c 100644
|
| --- a/build/android/pylib/instrumentation/instrumentation_test_instance.py
|
| +++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py
|
| @@ -549,9 +549,10 @@ class InstrumentationTestInstance(test_instance.TestInstance):
|
| self._excluded_annotations = []
|
|
|
| requested_annotations = set(a[0] for a in self._annotations)
|
| - self._excluded_annotations.extend(
|
| - annotation_element(a) for a in _EXCLUDE_UNLESS_REQUESTED_ANNOTATIONS
|
| - if a not in requested_annotations)
|
| + if not args.run_disabled:
|
| + self._excluded_annotations.extend(
|
| + annotation_element(a) for a in _EXCLUDE_UNLESS_REQUESTED_ANNOTATIONS
|
| + if a not in requested_annotations)
|
|
|
| def _initializeFlagAttributes(self, args):
|
| self._flags = ['--enable-test-intents']
|
|
|