summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-09-09 19:53:48 -0700
committerAndreas Gampe <agampe@google.com>2014-09-10 15:50:42 -0700
commit928f72bd75c385ba2708c58521171a77264d4486 (patch)
tree86f7fa7a21e3f6d21c9cab2d4fffe4aaa42dc458 /Android.mk
parentdab9ed52f2df7189b81ccf3237b030ff638a492a (diff)
downloadart-928f72bd75c385ba2708c58521171a77264d4486.zip
art-928f72bd75c385ba2708c58521171a77264d4486.tar.gz
art-928f72bd75c385ba2708c58521171a77264d4486.tar.bz2
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 'Android.mk')
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 669939b..b3cc2d0 100644
--- a/Android.mk
+++ b/Android.mk
@@ -229,6 +229,11 @@ test-art-host-interpreter$(2ND_ART_PHONY_TEST_HOST_SUFFIX): test-art-host-run-te
$(hide) $(call ART_TEST_PREREQ_FINISHED,$@)
endif
+# Valgrind. Currently only 32b gtests.
+.PHONY: valgrind-test-art-host
+valgrind-test-art-host: valgrind-test-art-host-gtest32
+ $(hide) $(call ART_TEST_PREREQ_FINISHED,$@)
+
########################################################################
# target test rules