diff options
author | Andreas Gampe <agampe@google.com> | 2014-09-09 19:53:48 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-09-10 15:50:42 -0700 |
commit | 928f72bd75c385ba2708c58521171a77264d4486 (patch) | |
tree | 86f7fa7a21e3f6d21c9cab2d4fffe4aaa42dc458 /build/Android.common_test.mk | |
parent | dab9ed52f2df7189b81ccf3237b030ff638a492a (diff) | |
download | android_art-928f72bd75c385ba2708c58521171a77264d4486.tar.gz android_art-928f72bd75c385ba2708c58521171a77264d4486.tar.bz2 android_art-928f72bd75c385ba2708c58521171a77264d4486.zip |
ART: Fix things for valgrind
Wire up valgrind gtests. Add valgrind-test-art-host, currently
only depending on valgrind-test-art-host-gtest32.
Fix an Alloc setting to allow running valgrind.
Refactor the fault handler to manage (and correctly release) the
handlers.
Fix minor failure-case leaks exposed by tests.
Failing tests:
The optimizing compiler is leaking non-arena-ed structures
(e.g., assembler buffers), as code generators are not destroyed.
The solution has been moved to a follow-up CL.
Note: All 64b tests are failing as we cannot allocate a heap.
Change-Id: I7f854cfd098d9f68107ce492363e7dba9a82b9fa
Diffstat (limited to 'build/Android.common_test.mk')
-rw-r--r-- | build/Android.common_test.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/Android.common_test.mk b/build/Android.common_test.mk index 20c5a21bc1..389740103a 100644 --- a/build/Android.common_test.mk +++ b/build/Android.common_test.mk @@ -41,6 +41,18 @@ ART_TEST_KNOWN_BROKEN := \ test-art-host-run-test-gcstress-interpreter-prebuild-114-ParallelGC64 \ test-art-host-run-test-gcstress-optimizing-prebuild-114-ParallelGC64 +# Failing valgrind tests. +# Note: *all* 64b tests involving the runtime do not work currently. b/15170219. + +# Optimizing compiler codegen is not destructed and can leak non-arena-ed structures. +ART_TEST_KNOWN_BROKEN += \ + valgrind-test-art-host-gtest-codegen_test32 \ + valgrind-test-art-host-gtest-find_loops_test32 \ + valgrind-test-art-host-gtest-linearize_test32 \ + valgrind-test-art-host-gtest-live_ranges_test32 \ + valgrind-test-art-host-gtest-liveness_test32 \ + valgrind-test-art-host-gtest-register_allocator_test32 + # List of known failing tests that when executed won't cause test execution to not finish. # The test name must be the full rule name such as test-art-host-oat-optimizing-HelloWorld64. ART_TEST_KNOWN_FAILING := |