summaryrefslogtreecommitdiffstats
path: root/test/run-all-tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix run-all-tests script when --always-clean is usedGoran Jakovljevic2015-03-271-0/+1
| | | | Change-Id: Icd44776e77c00f789bb579b6e55241abdfc0e68d
* Revert "Revert "Add JIT""Mathieu Chartier2015-02-241-1/+4
| | | | | | | | Added missing EntryPointToCodePointer. This reverts commit a5ca888d715cd0c6c421313211caa1928be3e399. Change-Id: Ia74df0ef3a7babbdcb0466fd24da28e304e3f5af
* Revert "Add JIT"Nicolas Geoffray2015-02-241-4/+1
| | | | | | | | | | | | | | | Sorry, run-test crashes on target: 0-05 12:15:51.633 I/DEBUG (27995): Abort message: 'art/runtime/mirror/art_method.cc:349] Check failed: PcIsWithinQuickCode(reinterpret_cast<uintptr_t>(code), pc) java.lang.Throwable java.lang.Throwable.fillInStackTrace() pc=71e3366b code=0x71e3362d size=ad000000' 10-05 12:15:51.633 I/DEBUG (27995): r0 00000000 r1 0000542b r2 00000006 r3 00000000 10-05 12:15:51.633 I/DEBUG (27995): r4 00000006 r5 b6f9addc r6 00000002 r7 0000010c 10-05 12:15:51.633 I/DEBUG (27995): r8 b63fe1e8 r9 be8e1418 sl b6427400 fp b63fcce0 10-05 12:15:51.633 I/DEBUG (27995): ip 0000542b sp be8e1358 lr b6e9a27b pc b6e9c280 cpsr 40070010 10-05 12:15:51.633 I/DEBUG (27995): Bug: 17950037 This reverts commit 2535abe7d1fcdd0e6aca782b1f1932a703ed50a4. Change-Id: I6f88849bc6f2befed0c0aaa0b7b2a08c967a83c3
* Add JITMathieu Chartier2015-02-231-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently disabled by default unless -Xjit is passed in. The proposed JIT is a method JIT which works by utilizing interpreter instrumentation to request compilation of hot methods async during runtime. JIT options: -Xjit / -Xnojit -Xjitcodecachesize:N -Xjitthreshold:integervalue The JIT has a shared copy of a compiler driver which is accessed by worker threads to compile individual methods. Added JIT code cache and data cache, currently sized at 2 MB capacity by default. Most apps will only fill a small fraction of this cache however. Added support to the compiler for compiling interpreter quickened byte codes. Added test target ART_TEST_JIT=TRUE and --jit for run-test. TODO: Clean up code cache. Delete compiled methods after they are added to code cache. Add more optimizations related to runtime checks e.g. direct pointers for invokes. Add method recompilation. Move instrumentation to DexFile to improve performance and reduce memory usage. Bug: 17950037 Change-Id: Ifa5b2684a2d5059ec5a5210733900aafa3c51bca
* Add run-test support for running without a working patchoat/dex2oatAlex Light2014-08-261-0/+7
| | | | | | | | Also add it to the test-art target. Bug: 17262039 Change-Id: Id31130194c46df66fc48852d6f8884f14cb08db4
* Added --gcstress and --gcverify shortcut flags to run-testAlex Light2014-08-121-1/+7
| | | | Change-Id: Ia11fcbc71488710ca32f397c3c1b19613e294d1e
* Add --always-clean flag to run-test.Alex Light2014-07-301-1/+3
| | | | | | | | | This flag makes run-test remove the test-artifacts even if it fails. Also enable this option by default when doing run-tests with make. Add a ART_TEST_RUN_TEST_ALWAYS_CLEAN environment variable to control this option. Change-Id: I7867b400d570d8d679d9822d1fa65f49eb3522ae
* Changed default non-full tests to be prebuild.Alex Light2014-07-221-0/+3
| | | | | | Also added ability to turn off non-prebuild manually. Change-Id: I0315ac43703a9c7e79812658523013799fb5d5dd
* Runtime can now be set to require relocationAlex Light2014-07-221-1/+11
| | | | | | | | | | | | | | Add a pair of runtime flags -Xrelocate and -Xnorelocate that can force the runtime to require that all files that are run are relocated, to prevent attacks based on the known art base address. Add support for running patchoat on oat files compiled without an image. Change run-test to have new --prebuild and --relocate flags. Bug: 15358152 Change-Id: I91166c62dd1ab80e5cbcb7883a2cd0d56afca32d
* Allow method tracing for run-testSebastien Hertz2014-07-091-0/+3
| | | | | | | Adds "--trace" option to enable method tracing. Bug: 11683397 Change-Id: I20a6b25c71067eafd848db26f13d62cfdb9a6159
* Add --64 option for run-all-tests.Zheng Xu2014-05-081-1/+4
| | | | Change-Id: I26c5ad8e1bf6747fecf4a5311eac6e051b2d3cd8
* art/test: support sequential runDmitry Petrochenko2014-05-021-23/+51
| | | | | | | | | Introduce --seq option for art/test/run-all-tests. This option runs tests one-by-one, avoiding failures caused by busy CPU Change-Id: Ibe29f749d267fb05dff4617787c7afcbdbeb43c0 Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
* Add -interpreter to run-test to test interpreter only mode.jeffhao2012-11-201-2/+5
| | | | Change-Id: I0addb26d22d3e7d486b40119ad35639dd15b9d53
* Fix run-test on host.TDYa1272012-04-101-1/+5
| | | | Change-Id: I44ebb4cdc2f5966be51a063e3c7256ab3016c404
* We replace -d with -O recently, but not uniformly.Elliott Hughes2012-02-141-4/+4
| | | | Change-Id: Ia66037addabe8f0c61531d955bf570aa4c7c83e6
* Add --invoke-with and -d to the dalvik tests.Elliott Hughes2011-10-191-1/+1
| | | | Change-Id: I358945fd2b41c1615441c1687a582a66e662eba9
* Add -Xzygote to suppress starting the signal catcher thread.Elliott Hughes2011-10-111-11/+1
| | | | Change-Id: Iae98ac9d362c71074befbc702f8cae96888211ec
* Use a test-specific name for each generated file.Elliott Hughes2011-10-041-17/+22
| | | | | | | This lets us run multiple tests in parallel (and know what we've got lying around on our devices). Change-Id: I90ecc4ceaae0ee4b323d861c2b408e2944a2f8c1
* Adding old unit tests to test suite.jeffhao2011-09-291-0/+124
These tests are copied straight over. They'll still run, but they're using the old system. Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8