summaryrefslogtreecommitdiffstats
path: root/testrunner/run_command.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix runcommand logging exception.Brett Chabot2009-10-261-1/+1
| | | | BUG 2215978
* Import testrunner changes from puppetmaster to keep them in sync.Brett Chabot2009-09-291-8/+37
|
* Add workaround to runtest to build cts dependencies.Brett Chabot2009-09-241-1/+1
| | | | BUG 2141242
* Fix bug to be able to run binaries under valgrind.niko2009-07-071-1/+1
|
* runtest: Remove run_command -> android_build dependency.Brett Chabot2009-06-291-5/+2
| | | | | This is desired because run_command is used by puppetmaster which should have no dependency on android build system.
* Fixed valgrind handling issue.Nicolas Catania2009-06-041-3/+9
| | | | | Turns out valgrind always exits with error code 0 even when a leak is detected. Instead we are now looking for an empty output.
* Made valgrind optional. Capture the target output.Nicolas Catania2009-05-141-0/+13
| | | | | | 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.
* runtest.py bug fixes.Brett Chabot2009-05-051-5/+6
| | | | | Improved error handling, and added support for "size" and "package" arguments. Removed deprecated runtest shell script.
* Broaden the search for native test files.Nicolas Catania2009-05-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | 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.
* Modified the command to run native test on the host:Nicolas Catania2009-04-301-4/+15
| | | | | - when valgrind is used, the output is discarded, always. - otherwise, the output of the test is printed only when the test failed.
* Added a method in run_command.py to run a host test.Nicolas Catania2009-04-221-18/+39
| | | | | | The run can also happen under valgrind. runtest.py: Search for host test as well. Run these under valgrind.
* auto import from //depot/cupcake/@136654The Android Open Source Project2009-03-051-0/+117