Commit Graph

26 Commits

Author SHA1 Message Date
Android (Google) Code Review
09e29d3a97 am 07290d5d: Merge change 3626 into donut
Merge commit '07290d5d928afc9e7af606d58db0ff9310291906'

* commit '07290d5d928afc9e7af606d58db0ff9310291906':
  Added the test definiton for the cameraLatnecy and the mediamemorystress test
2009-06-09 15:39:23 -07: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
Android (Google) Code Review
818ff9c662 am dcd7e153: Merge change 2778 into donut
Merge commit 'dcd7e153ea86f0bd67e0cf2f740f24e8aa9185f5'

* commit 'dcd7e153ea86f0bd67e0cf2f740f24e8aa9185f5':
  Initial change to add cts tests to runtest.
2009-06-02 12:06:00 -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
Android (Google) Code Review
a1826d8dac am 213bd6de: Merge change 2881 into donut
Merge commit '213bd6deff91eb629dc90d02437deab5eb494fb7'

* commit '213bd6deff91eb629dc90d02437deab5eb494fb7':
  Added the mediaapitest, mediarecordertest and stress test in the testrunner.So
2009-06-02 00:36:19 -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
Wei-Ta Chen
b515fb18c2 Add Skia's native tests to the master test definition file. 2009-05-28 14:20:27 -07:00
Owen Lin
e4c2d52998 am 5f563d06: Change build path to "packages/app/Camera.apk". So that it will also build the application code.
Merge commit '5f563d066dd173bd307f5a33581ee325dcd1e81f'

* commit '5f563d066dd173bd307f5a33581ee325dcd1e81f':
  Change build path to "packages/app/Camera.apk". So that it will also
2009-05-27 11:01:15 -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
24783d6332 am 7c343cef: Add XML Schema for runtest\'s test_defs.xml file
Merge commit '7c343cef7e7cd56aafb7b8a602ceb6462a6bbb71'

* commit '7c343cef7e7cd56aafb7b8a602ceb6462a6bbb71':
  Add XML Schema for runtest's test_defs.xml file
2009-05-22 15:04:46 -07:00
Phil Dubach
7c343cef7e Add XML Schema for runtest's test_defs.xml file 2009-05-22 14:56:35 -07:00
Fred Quintana
83ce803690 add a definition for a ContentProviderOperation unit test 2009-05-22 14:17:58 -07:00
Android (Google) Code Review
e30d377bd3 am 55deffa3: Merge change 1736 into donut
Merge commit '55deffa35e528959e7de41198ee146e79fb71618'

* commit '55deffa35e528959e7de41198ee146e79fb71618':
  Add tests definition (unit tests and stress tests) for Camera.
2009-05-20 14:33:04 -07:00
Owen Lin
04eccd893a Add tests definition (unit tests and stress tests) for Camera. 2009-05-15 10:08:00 -07:00
Brett Chabot
6c6c1ab5fd Manual merge of runtest fixes in donut and new account test def add in master.
commit 8a101cb057
Author: Brett Chabot <brettchabot@google.com>
Date:   Tue May 5 12:56:39 2009 -0700

    runtest.py bug fixes.

    Improved error handling, and added support for "size" and "package" arguments.
    Removed deprecated runtest shell script.
2009-05-06 11:45:33 -07:00
Android (Google) Code Review
cddee7597f am 106e79f: Merge change 889 into donut
Merge commit '106e79fa3fcd5eae06d57c2dacc34883e60617a7'

* commit '106e79fa3fcd5eae06d57c2dacc34883e60617a7':
  Broaden the search for native test files.
2009-05-04 11:36:34 -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
Tom Taylor
41c83dd671 Remove the hardwired runner from the MMS test.
This line has to be removed in order to successfully launch the mms tests.
2009-04-20 14:11:20 -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
Yu Shan Emily Lau
d17eb0b21a AI 145469: am: CL 145444 am: CL 145062 Took out the muisc player test from the continuous build test.
Original author: yslau
  Merged from: //branches/cupcake/...
  Original author: android-build

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