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)
commitc4c8b1be829abd70acf7da1449bc2b7f312229f9
tree2905a1716c7697b733a64043447bf9311e1b1de5
parentea1f6d3aa5098b77eb4a1dc66ec96d0df6de9574
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