Commit Graph

8 Commits

Author SHA1 Message Date
Niko Catania
a8771a1137 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-17 15:59:43 -07:00
Brett Chabot
c28739a303 AI 145141: am: CL 144980 Fix runtest --coverage.
Original author: brettchabot

Automated import of CL 145141
2009-04-08 13:43:14 -07:00
Niko Catania
55ebbc4e1a AI 144501: am: CL 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.
  Original author: niko

Automated import of CL 144501
2009-04-03 14:13:05 -07:00
Niko Catania
247286697f 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
2009-04-02 23:33:53 -07:00
Brett Chabot
50c588cc2c AI 144396: am: CL 144262 am: CL 144260 Add constant for test file name in runtest.
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144396
2009-04-02 22:51:49 -07:00
Brett Chabot
a3a8aeb15c AI 143831: am: CL 143819 am: CL 143765 Rename tests.xml to test_defs.xml
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143831
2009-03-31 14:51:13 -07:00
Brett Chabot
9bec3079c9 AI 143713: am: CL 143688 am: CL 143562 Usability fixes for runtest.py
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

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