Lines Matching full:tests
17 """Command line utility for running Android tests
19 runtest helps automate the instructions for building and running tests
22 - It launches InstrumentationTestRunner (or similar) to run the tests you
25 runtest supports running tests whose attributes have been pre-defined in
55 # file path to android core platform tests, relative to android build root
60 # vendor glob file path patterns to tests, relative to android
62 _VENDOR_TEST_PATH = os.path.join("vendor", "*", "tests", "testinfo",
68 "for a list of tests, or you can launch one or more tests.")
91 parser.add_option("-l", "--list-tests", dest="only_list_tests",
93 help="To view the list of tests")
114 help="Wait for debugger before launching tests")
124 help="Include only those tests tagged with a specific"
127 help="Exclude any tests tagged with a specific"
129 parser.add_option("-u", "--user-tests-file", dest="user_tests_file",
137 parser.add_option("-t", "--all-tests", dest="all_tests",
139 help="Run all defined tests")
142 help="Run all tests defined as part of the continuous "
146 "running native tests on a device (default: 300 secs)")
148 help="Run all tests defined as part of the "
151 parser, "Targets", "Use these options to direct tests to a specific "
193 A TestDefinitions object that contains the set of parsed tests.
195 AbortError: If a fatal error occurred when parsing the tests.
201 # read all <android root>/vendor/*/tests/testinfo/test_defs.xml paths
214 """Prints out set of defined tests."""
215 print "The following tests are currently defined:\n"
224 logger.SilentLog("Building tests...")
227 tests = self._GetTestsToRun()
228 for test_suite in tests:
238 if self._IsCtsTests(tests):
240 cmd = ('make -j%s CtsTestStubs android.core.tests.runner' %
310 """Check if any cts tests are included in given list of tests to run."""
317 """Main entry method - executes the tests according to command line args."""