Commit Graph

8 Commits

Author SHA1 Message Date
Dan Willemsen
c1c3e5f1d8 Remove unused GetHostOsArch
The users moved over to GetOutDir, and this shouldn't be parsing
report_config, so remove it.

Test: cs/GetHostOsArch
Change-Id: I9c045071af7f210b4ec19f158016ff53978a8a6c
2017-10-17 13:52:17 -07:00
Tsu Chiang Chuang
c137f5f1a1 Ensure that the native tests are run from /data/nativetest to match TF.
Also cleanup a missing test from test_defs.xml

Change-Id: I9b50bd3f5c7a100a86dd550d367c8ed9a9f2bd62
2014-02-25 17:25:10 -08:00
JP Abgrall
f38107c03f testrunner: don't hardcode "out"
"out" can actually be $OUT_DIR.
"out/host/arch" is actually $ANDROID_HOST_OUT.

Bug: 7183057
Change-Id: I91ed7fdd57da92288f0529ba60cef1520b6d31d3
2013-07-11 17:39:16 -07:00
Michael Wright
5177da5f5b Fixed error messages for retrieving environment variables
Change-Id: Ib84479bfc702de1e1c6a0d09ed7ccf6ad06e1b2b
2012-05-29 11:59:24 -07:00
Brett Chabot
e0bf8162f0 testrunner: Allow spaces in instrumentation arguments and remove check for test
app presence.
2009-06-29 13:55:30 -07:00
Brett Chabot
764d3fa70d 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.
2009-06-26 14:31:52 -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
The Android Open Source Project
6ffae015b4 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:43 -07:00