Add "annotation" and "not-annotation" args to runtest.

Bug 2239240

Change-Id: I49bbee4b74e8b0a51b6e6144818a7e9c08b1b5c2
This commit is contained in:
Brett Chabot
2010-02-20 20:09:58 -08:00
parent fbef7e0b85
commit c061154208
2 changed files with 10 additions and 0 deletions

View File

@@ -120,6 +120,12 @@ class TestRunner(object):
help="Restrict test to a specific java package")
parser.add_option("-z", "--size", dest="test_size",
help="Restrict test to a specific test size")
parser.add_option("--annotation", dest="test_annotation",
help="Include only those tests tagged with a specific"
" annotation")
parser.add_option("--not-annotation", dest="test_not_annotation",
help="Excludes any tests tagged with a specific"
" annotation")
parser.add_option("-u", "--user-tests-file", dest="user_tests_file",
metavar="FILE", default=user_test_default,
help="Alternate source of user test definitions")