Merge commit '09db257e6de804946144d8d4f31873f59a1a2f8a'
* commit '09db257e6de804946144d8d4f31873f59a1a2f8a':
Removing calprov test suite from continuous build until to get real fix for bug 1966269
Merge commit '62fec6f07040c7acb1e9c6877a9579f87f54d4c0'
* commit '62fec6f07040c7acb1e9c6877a9579f87f54d4c0':
Modify runtest test_defs to adjust for rename of cts-installtests.
Merge commit '764d3fa70d42a79e2ee999b790e69fc55f12bf61'
* commit '764d3fa70d42a79e2ee999b790e69fc55f12bf61':
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.
Merge commit '3db7a730bce818196c216945f866939bf8a7401f'
* commit '3db7a730bce818196c216945f866939bf8a7401f':
Add ApiDemos to the test build, and cts-permission2 tests to test_defs.xml.
Merge commit '70337978d53c6097577fa03967e256a020cf3253'
* commit '70337978d53c6097577fa03967e256a020cf3253':
SDK Updater: update all existing local archives, license click through.
Modify archquery to be able to print any system property.
Add downloadprovider permission tests runtest shortcut.
Merge commit '31d55c618e783d937cb0342c7eeafcd0a6b990fe'
* commit '31d55c618e783d937cb0342c7eeafcd0a6b990fe':
Add runtest test definition for framework-permission
- Moved the build variants descriptions into build_system
Fix the reload of pages after installation of packages.
Merge commit '07290d5d928afc9e7af606d58db0ff9310291906'
* commit '07290d5d928afc9e7af606d58db0ff9310291906':
Added the test definiton for the cameraLatnecy and the mediamemorystress test
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.
Merge commit '213bd6deff91eb629dc90d02437deab5eb494fb7'
* commit '213bd6deff91eb629dc90d02437deab5eb494fb7':
Added the mediaapitest, mediarecordertest and stress test in the testrunner.So
Merge commit '5f563d066dd173bd307f5a33581ee325dcd1e81f'
* commit '5f563d066dd173bd307f5a33581ee325dcd1e81f':
Change build path to "packages/app/Camera.apk". So that it will also
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.
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
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