History log of /development/testrunner/run_command.py
Revision Date Author Comments
2c8ead32c7ebf08db568e2e9d5dbb3738ac69797 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
99e5f91aab4eed7fd8761dbec05d16b54e63374a 26-Oct-2009 Brett Chabot <brettchabot@android.com> Fix runcommand logging exception.

BUG 2215978
1d9928aaf7ce454f30824a804c9f1f04cc778d28 30-Sep-2009 Brett Chabot <brettchabot@android.com> Import testrunner changes from puppetmaster to keep them in sync.
2477b388ec3abdbabcb1b7b925a3399d764d9b3a 24-Sep-2009 Brett Chabot <brettchabot@android.com> Add workaround to runtest to build cts dependencies.

BUG 2141242
2dafd06c188f86bbd5852e1199a26265278d1f00 07-Jul-2009 niko <niko@google.com> Fix bug to be able to run binaries under valgrind.
bf7863ec271cad3a8636bf7569963e7b3debaa51 30-Jun-2009 Brett Chabot <brettchabot@google.com> runtest: Remove run_command -> android_build dependency.

This is desired because run_command is used by puppetmaster which should have
no dependency on android build system.
ab80b39f160a07bf7bd18a84c07c7e2acedb7249 04-Jun-2009 Nicolas Catania <niko@google.com> Fixed valgrind handling issue.

Turns out valgrind always exits with error code 0 even when a leak is
detected. Instead we are now looking for an empty output.
bcd93dc46a3e01d43768561fda7fa3744e57b146 14-May-2009 Nicolas Catania <niko@google.com> Made valgrind optional. Capture the target 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.
6c6c1ab5fd5b7559c271438f50b22edbea1e1f05 06-May-2009 Brett Chabot <brettchabot@google.com> Manual merge of runtest fixes in donut and new account test def add in master.

commit 8a101cb057c1d1d5397b988b6a3f4c3add879008
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.
8a101cb057c1d1d5397b988b6a3f4c3add879008 05-May-2009 Brett Chabot <brettchabot@google.com> runtest.py bug fixes.

Improved error handling, and added support for "size" and "package" arguments.
Removed deprecated runtest shell script.
ff096c1b7b10fbaf7cf242a81d71b3887861b8ce 01-May-2009 Nicolas Catania <niko@google.com> 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.
1ecf93b37a8739357877f305f399bcb4831c111a 01-May-2009 Nicolas Catania <niko@google.com> Modified the command to run native test on the host:
- when valgrind is used, the output is discarded, always.
- otherwise, the output of the test is printed only when the test failed.
97b24c4d65712aab0fa15f18eac316890a5d1a34 22-Apr-2009 Nicolas Catania <niko@google.com> Added a method in run_command.py to run a host test.
The run can also happen under valgrind.

runtest.py: Search for host test as well. Run these under valgrind.
2b83cbdb14fcf0307e87b67d46ba17aab4c22a28 06-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136654