Commit Graph

8 Commits

Author SHA1 Message Date
Brett Chabot
59b4778dd6 Add runtest --path.
This supports specifying a file system path to test(s) to run. The path can be
a java test class file, a java package directory, or a parent directory
containing many tests.

This change allows users to run tests independently from test_defs.xml.

BUG 2133198
2009-10-26 12:22:46 -07:00
Brett Chabot
e00595bdbe Remove runtest dependency on current dir being build top.
This change is necessary to support relative path based args.
2009-10-21 20:01:31 -07:00
Brett Chabot
1cd6174130 Add support to run only tests in a given java package. 2009-10-21 17:00:58 -07:00
Brett Chabot
924c089879 Refactor runtest test_defs to allow programmatic creation.
Previously a test definition could only be created via xml.
Also fix some minor lint warnings.
2009-10-21 14:35:37 -07:00
Xia Wang
12ad9fb10e 1. Add .c extension to native_test.py so that native test in C can also be picked up by testrunner.
2. Add netkeystore_test into continuous test cycle.
2009-08-14 15:58:36 -07:00
Brett Chabot
bf7863ec27 runtest: Remove run_command -> android_build dependency.
This is desired because run_command is used by puppetmaster which should have
no dependency on android build system.
2009-06-29 17:44:52 -07:00
Brett Chabot
3ae5f8a399 Fix relative class path arg handling in runtest, and some lint errors. 2009-06-28 12:00:47 -07:00
Brett Chabot
764d3fa70d Add support for running host java tests to runtest.
With this change, also refactored runtest as follows: Modified the
test suite schema and python implementation to have an inheritance
structure.  Each test type has its own python module, which will
also handle the logic of running the test.
2009-06-26 14:31:52 -07:00