Commit Graph

8 Commits

Author SHA1 Message Date
Niko Catania
fa14bd5728 Added single quotes around the shell command sent to the device.
Without the quotes, the shell split the command and the echo statement
gets dropped.
2009-04-09 16:50:54 -07:00
Brett Chabot
2b6643b596 AI 144980: Fix runtest --coverage.
Automated import of CL 144980
2009-04-07 18:35:27 -07:00
Niko Catania
a6dc2abe8d AI 144500: Added support for some extra make arguments for some testsuite.
For instance the libstdc++ testsuite requires BIONIC_TESTS=1 to
  actually build the tests.
  * development/testrunner/test_defs.py:
  Parse the new extra_make_args attribute.
  * development/testrunner/runtest.py:
  Added support for extra make arguments. Some testsuite requires this to actually be built.
  Changed the log statement to log what is actually being done.
  * development/testrunner/test_defs.xml:
  Added extra make argument to enable the libstdc++ tests.

Automated import of CL 144500
2009-04-03 14:12:46 -07:00
Niko Catania
2e990b97d3 AI 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
  BUG=1601432

Automated import of CL 144340
2009-04-02 16:52:26 -07:00
Brett Chabot
f61f43e16b AI 144262: am: CL 144260 Add constant for test file name in runtest.
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 144262
2009-04-02 11:52:48 -07:00
Brett Chabot
2d85c0eb06 AI 143819: am: CL 143765 Rename tests.xml to test_defs.xml
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143819
2009-03-31 15:19:13 -07:00
Brett Chabot
72731f3420 AI 143688: am: CL 143562 Usability fixes for runtest.py
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143688
2009-03-31 11:14:05 -07:00
The Android Open Source Project
6ffae015b4 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:43 -07:00