| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
BUG 2215978
|
| |
|
|
|
|
| |
BUG 2141242
|
| |
|
|
|
|
|
| |
This is desired because run_command is used by puppetmaster which should have
no dependency on android build system.
|
|
|
|
|
| |
Turns out valgrind always exits with error code 0 even when a leak is
detected. Instead we are now looking for an empty output.
|
|
|
|
|
|
| |
Don't fail if valgrind (system version not the google3 one) is missing.
If the test fail, print the output of the test.
Added .pyc to the gitignore file.
|
|
|
|
|
| |
Improved error handling, and added support for "size" and "package" arguments.
Removed deprecated runtest shell script.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- when valgrind is used, the output is discarded, always.
- otherwise, the output of the test is printed only when the test failed.
|
|
|
|
|
|
| |
The run can also happen under valgrind.
runtest.py: Search for host test as well. Run these under valgrind.
|
|
|