summaryrefslogtreecommitdiffstats
path: root/testrunner/test_defs/instrumentation_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'testrunner/test_defs/instrumentation_test.py')
-rw-r--r--testrunner/test_defs/instrumentation_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testrunner/test_defs/instrumentation_test.py b/testrunner/test_defs/instrumentation_test.py
index c932a0be3..f0a8656bb 100644
--- a/testrunner/test_defs/instrumentation_test.py
+++ b/testrunner/test_defs/instrumentation_test.py
@@ -131,6 +131,10 @@ class InstrumentationTestSuite(test_suite.AbstractTestSuite):
instrumentation_args["suiteAssignment"] = "true"
if options.coverage:
instrumentation_args["coverage"] = "true"
+ if options.test_annotation:
+ instrumentation_args["annotation"] = options.test_annotation
+ if options.test_not_annotation:
+ instrumentation_args["notAnnotation"] = options.test_not_annotation
if options.preview:
adb_cmd = adb.PreviewInstrumentationCommand(
package_name=self.GetPackageName(),