OSDN Git Service

AI 144412: am: CL 144340 Added support to run native tests on the device.
authorNiko Catania <>
Fri, 3 Apr 2009 06:33:53 +0000 (23:33 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Fri, 3 Apr 2009 06:33:53 +0000 (23:33 -0700)
commit1cd670490874866b23c91dcd2920378e504b1efa
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904
parentbaaaa446de09fb1d6eee23b01179d27589ed064a
AI 144412: am: CL 144340 Added support to run native tests on the device.
  The tests name must start with 'test_'.
  Tests should return 0 on success, 1 on failure.
  * development/testrunner/test_defs.xml:
  Added new element to represent native tests.
  * development/testrunner/test_defs.py:
  Added handling of the new <test-native> element.
  The testsuite has new IsNative method.
  TestDefinition's iterator is ordered by test names.
  Added GetDescription() method to access the optional description.
  * development/testrunner/runtest.py:
  Print the description next to the test name if applicable
  (runtest_py -l)
  Added a _RunNativeTest method to run a test on the target, report
  the status and clean up the test after the run.
  Added
  Original author: niko

Automated import of CL 144412