summaryrefslogtreecommitdiffstats
path: root/test/Android.run-test.mk
Commit message (Collapse)AuthorAgeFilesLines
* Add --always-clean flag to run-test.Alex Light2014-07-301-0/+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
* Merge "Revert "Fix proxy tracing and enable tests that now work with tracing.""Nicolas Geoffray2014-07-231-1/+29
|\
| * Revert "Fix proxy tracing and enable tests that now work with tracing."Nicolas Geoffray2014-07-291-1/+29
| | | | | | | | | | | | This reverts commit 0398e171f206cd3b140a358ac31b0a3760380df1. Change-Id: I1346ab01485cc7207be0ecb4d8788c500c0df903
* | Fix braino in Makefile.Nicolas Geoffray2014-07-291-0/+1
| | | | | | | | Change-Id: I7cbf694f35db97946823de148ff6dd6053091de6
* | Merge "Add a variable to disable PREBUILD in run-tests."Nicolas Geoffray2014-07-231-0/+2
|\ \ | |/ |/|
| * Add a variable to disable PREBUILD in run-tests.Nicolas Geoffray2014-07-281-0/+2
| | | | | | | | Change-Id: I318d37a2d98972c689829258e129ec8973bdc038
* | Fix proxy tracing and enable tests that now work with tracing.Jeff Hao2014-07-281-29/+1
|/ | | | | Bug: 16386215 Change-Id: Iec2a372c921caceb050c6baf72d48b3d822899a4
* ART: Native bridge command-line parameterAndreas Gampe2014-07-261-0/+42
| | | | | | | | | | | Add a command-line parameter for the native bridge library, slight refactor/cleanup. Add run-test 115 to test the native bridge interface. Currently the tests are black-listed for the target, as the setup for the test is too complicated in the current infrastructure. Change-Id: I6ccf19485e8c30b96e9f2fd5425278cb1ebd403f
* Fix stale remembered sets error.Mathieu Chartier2014-07-241-2/+1
| | | | | | | | | | | | | | | | We were forgetting to remove the remembered set in transition to background. This resulted in remembered sets being added for spaces which no longer existed. This finally caused an error when a new space happened to have the same address as the old space, resulting in a CHECK failure. Also tuned the number of ParallelGC to prevent spurrious failures and removed the ParallelGC from broken tests in the make file. Bug: 16532086 Bug: 16406852 Change-Id: I00bbcbd7daa03c867732d165be62b72e6c43bce1
* Add test-art-*-run-test-###-test-name32/64 test targets.Alex Light2014-07-231-0/+25
| | | | | | This allows one to run only a single architecture for one of the run-tests. Change-Id: Icb06c2b36074cbec7f7808a2fcaba97ec5501578
* ART: Make run tests out of oat testsAndreas Gampe2014-07-231-6/+18
| | | | | | Transforms all former oat tests into run tests. Change-Id: I190dd39456454c36e5538a2c044d993965a67533
* Merge "Changed default non-full tests to be prebuild."Andreas Gampe2014-07-221-11/+111
|\
| * Changed default non-full tests to be prebuild.Alex Light2014-07-221-11/+111
| | | | | | | | | | | | Also added ability to turn off non-prebuild manually. Change-Id: I0315ac43703a9c7e79812658523013799fb5d5dd
* | Recycle mem-maps for collector transitions.Mathieu Chartier2014-07-221-4/+1
|/ | | | | | | | | | | | | | | | | | | | We now create spaces when we need them for collector transitions or homogeneous compaction by recycling mem maps. Change the bump pointer space size to be as large as the heap capacity instead of 1/2 heap capacity like it used to be. For GSS, bump pointer spaces are set to 32MB currently. Changed GSS to have main space == non moving space since we don't need to copy from the main space. Fixes GC stress tests 074, 096. Fixed test 080 oom throw with -Xmx2m for GC stress test, this was broken since it was allocating a 4 MB array before starting the OOM process. Bug: 14059466 Bug: 16406852 Change-Id: I62877cfa24ec944a6f34ffac30334f454a8002fd
* Runtime can now be set to require relocationAlex Light2014-07-221-48/+404
| | | | | | | | | | | | | | 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
* Fix the name of a black listed run-test.Ian Rogers2014-07-181-1/+1
| | | | Change-Id: I1ac4d28bd959b33066cce32812613c2e27d40f7e
* Black list timing sensitive tests from gcverify and gcstressIan Rogers2014-07-181-2/+4
| | | | | | but only when run on build servers. Change-Id: Icb3b125142d75bd4cc140c9f8ef7abf1d6451c5a
* Black list more trace tests.Ian Rogers2014-07-181-0/+4
| | | | | Bug: 16386215 Change-Id: Ieda8306f9419669935f5452a1765c09ff898ff7f
* Run-test fix.Ian Rogers2014-07-181-2/+2
| | | | Change-Id: I601d425582a69f77786a76d625079f3ca5974428
* Add a GC stress run that uses a moving collector and small heap sizes.Ian Rogers2014-07-181-5/+35
| | | | | | | | | Disable 3 run-tests for this configuration that fail for reasons relating to OOME handling. Add 012-math to the failing trace tests, it fails due to hitting a file size limit when running in the interpreter. Change-Id: Ia58f4c245d9d2d14caf5f2f2f3dcbfa40d4ccadb
* Add GC verification test rules.Ian Rogers2014-07-181-3/+18
| | | | Change-Id: I7469ecaf98f680e7e642035f3536b00bdd97b486
* Allow optimizing and trace tests to be not run.Ian Rogers2014-07-181-10/+21
| | | | | | | | | | | | Make it so that optimizing and trace tests can be chosen to be not run. mm -j32 test-art will run all optimizing and trace tests. mm -j32 test-art ART_TEST_FULL=false will not run optimizing and trace tests. mm -j32 test-art ART_TEST_FULL=false ART_TEST_OPTIMIZING=true will not run trace tests but will run optimizing tests. Change-Id: I9c04d9489f08fb837da5561d9496c97aee7c4a4a
* Add another test to the trace test black list.Ian Rogers2014-07-161-0/+1
| | | | Change-Id: Ib2266b4fa2684e477791fe317a598c22d79e3400
* Add --trace variants of the run-test testing rules.Ian Rogers2014-07-161-20/+78
| | | | | | | Only for host and the default compiler at the moment. Also, fix test-art-host32 and test-art-host64. Change-Id: Ic13190e766aca522de95d2b5b12926c906ba8fb8
* The host build has changed from lib32/lib to lib/lib64.Nicolas Geoffray2014-07-011-2/+2
| | | | | | Use the correct build variable for library dependency. Change-Id: I2f12d13b595d97b2806eb709613e2cc358f4cad4
* Re-enable tests with the optimizing compiler.Nicolas Geoffray2014-06-261-5/+0
| | | | | | | | | | | Tests run ok on my host/target. I reverted the move to using thumb2, because tests were crashing. But I could not reproduce file limits issues. Make SignalTest as crashing for optimizing. We need to implement stack overflow checks. Change-Id: Ieda575501eaf30af7aaa2c44e71544c9c467c24f
* Revert "Re-enable tests with the optimizing compiler."Nicolas Geoffray2014-06-251-0/+5
| | | | | | This reverts commit 20550910e608ed7d86db97927d2ce9d2191061a4. Change-Id: Ic28b719946c795378838a18162a2a2b2cf41a0e8
* Re-enable tests with the optimizing compiler.Nicolas Geoffray2014-06-251-5/+0
| | | | | | | | Tests run ok on my host/target. I reverted the move to using thumb2, because tests were crashing. But I could not reproduce file limits issues. Change-Id: I26bc4ec1eb6c227750d11210e012d9d3b1d824af
* Fix names of TEST_ART_TIMING_SENSITIVE_RUN_TESTSBrian Carlstrom2014-06-251-12/+12
| | | | | | (cherry picked from commit c87deb01815638c69e30fa6787b0a9ea91ea8c29) Change-Id: Iceff40c3bd22b5dacbdc9550ec894003c758fd86
* Add libjavacore dependency for oat testsBrian Carlstrom2014-06-251-2/+2
| | | | | | (cherry picked from commit 979942f123a2a9d1949f8be6672ff14101d9f214) Change-Id: I8f29665259634226ed78fb26b35fb92323310698
* Define run-test targets.Ian Rogers2014-06-241-0/+1
| | | | | | Addressing review comment on https://android-review.googlesource.com/#/c/98456/11 Change-Id: I6ad031dcf53b63506ebb738e9c26cc15f0f10107
* Fix various test dependencies.Ian Rogers2014-06-241-0/+6
| | | | Change-Id: I2e4761f4cc061f74319a7b64ebe67c553d5297df
* Multilib ART host.Ian Rogers2014-06-241-0/+341
Build ART for the host as a multilib project with dalvikvm32 and dalvikvm64 running as 32 or 64-bit repsectfully. Note, currently multilib host builds are not the default, you make the so by setting BUILD_HOST_64bit=1. Extend tests to execute in both 32 and 64-bit modes. By default both 32 and 64-bit tests are run, add 32 or 64 to the end of a test name to run it in purely that flavor. Given the extra spam, modify oat tests to only generate console output when the test fails. Change the test harness so that common commands are run when a test should be skipped, when it passes or when it fails. Use these commands to generate a summary of passing, skipped and failing tests. Tests will be skipped if they are known to be broken or if a test has already failed. Setting the variable TEST_ART_KEEP_GOING=true will force working tests not to be skipped. In this change all tests running on the optimizing compiler are marked broken due to breakages running them in a multilib environment. Break apart Android.common.mk into its constituent parts, along with other pieces of reorganization. Stylistic nit, we refer to make rule targets as targets thereby overloading the term target. While consistent with make's terminology, its confusing with the Android notion of target. I've switched to just calling targets rules to avoid confusion in host tests. Change-Id: I5190fc3de46800a949fbb06b3f4c258ca89ccde9