Commit Graph

28 Commits

Author SHA1 Message Date
Brett Chabot
08a3dc0d34 Add test definition for cts-gesture.
BUG 2048364

Change-Id: I71b2cc197a9f6809dfb863d919a7fdeae75bd411
2009-08-26 11:58:23 -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
f9775cae58 Add test definition for cts-telephony.
BUG 2048364
2009-08-12 14:48:14 -07:00
Brett Chabot
a6851d7aae Fix runtest launchperf test definition.
BUG 2045435
2009-08-10 17:12:27 -07:00
Swarna Kumar
8aca5b8afd Since bug 1966269 is fixed, marking calprov tests as continuous=true 2009-07-30 15:03:25 -07:00
Yu Shan Emily Lau
4fed1db841 Add the test definition of the vpn tests. 2009-07-21 15:59:43 -07:00
Swarna Kumar
865f57e708 Removing continuous attribute for the calendar provider tests. 2009-07-21 13:19:43 -07:00
Swarna Kumar
88a8f7be4f Removing calprov test suite from continuous build until to get real fix for bug 1966269 2009-07-20 11:19:34 -07:00
Brett Chabot
222c8a0634 Modify runtest test_defs to adjust for rename of cts-installtests. 2009-07-10 12:39:26 -04: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
Brett Chabot
fe905a8cb0 Add ApiDemos to the test build, and cts-permission2 tests to test_defs.xml.
This should enable the ApiDemos sample tests to run continuously again.
2009-06-19 18:34:39 -07:00
Brett Chabot
8ccda76271 Add framework, downloadprovider, improvider and global search
permission tests to continuous tests.
2009-06-17 11:38:07 -07:00
Nicolas Catania
18d7a4e3bc Added ASTL tests to the suite. 2009-06-15 15:15:20 -07:00
Brett Chabot
5de234e8ca Add downloadprovider permission tests runtest shortcut. 2009-06-15 13:04:58 -07:00
Brett Chabot
2e1ac5dcc4 Add runtest test definition for framework-permission 2009-06-15 10:51:29 -07:00
Brett Chabot
d6af1fbbfa Change cts-permission runtest def to use proper runner. 2009-06-10 11:19:58 -07:00
Karl Rosaen
95315b87df Add GlobalSearch to test definitions. 2009-06-10 11:55:25 +01:00
Yu Shan Emily Lau
4c48ea2c84 Added the test definiton for the cameraLatnecy and the mediamemorystress test 2009-06-09 14:33:20 -07:00
Brett Chabot
49b77117fe Initial change to add cts tests to runtest.
Adds cts test definitions to the testrunner/test_defs.xml.
Adds support for runtest --cts arg, which will run all cts tests.
This temporarily relies on the addition of a 'cts' attribute to the test
definition - a new xml format may be defined later that changes how cts tests
are identified.

This change is based on previous unsubmitted CL
https://android-git.corp.google.com/g/Gerrit#change,1702. The only delta wrt
to that change is the use of InstrumentationCtsTestRunner.

Update: rebased to latest donut.
2009-06-02 11:46:46 -07:00
Yu Shan Emily Lau
ffbc7c9f59 Added the mediaapitest, mediarecordertest and stress test in the testrunner.So
the partner can run the test easier.
2009-06-01 16:55:49 -07:00
Owen Lin
5f563d066d Change build path to "packages/app/Camera.apk". So that it will also
build the application code.
2009-05-27 10:19:02 -07:00
Phil Dubach
7c343cef7e Add XML Schema for runtest's test_defs.xml file 2009-05-22 14:56:35 -07:00
Owen Lin
04eccd893a Add tests definition (unit tests and stress tests) for Camera. 2009-05-15 10:08:00 -07:00
Nicolas Catania
ff096c1b7b Broaden the search for native test files.
Previously we were looking for test files with this pattern: test_*
I added *_test.[cc|cpp] and *_unittest.[cc|cpp]

The search also scan all the subdirectories of the build_path from
the test definition.

I added a filtering stage where missing tests are ignored.
For instance we may have a source file that has not been built for
the target, in which case it is ignored when we run the target tests.

In android_build.py I added 4 helper functions to get access to the
build environment:
- GetHostBin
- GetProductOut
- GetTargetSystemBin
- GetHostOsArch

Replace all the hardcoded linux-x86 strings with the value returned
by GetHostOsArch.
2009-05-02 09:10:44 -07:00
Yu Shan Emily Lau
6ae4dd48b6 AI 145444: am: CL 145062 Took out the muisc player test from the continuous build test.
Original author: yslau
  Merged from: //branches/cupcake/...

Automated import of CL 145444
2009-04-09 13:55:20 -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
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