summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-05-13 08:41:48 -0700
committerAndreas Gampe <agampe@google.com>2014-05-13 08:47:29 -0700
commit3c0335735e9e8963003eeabb984e5208731d972e (patch)
tree9ccf4b52f2e7524c0096d06244607945a97d007d /Android.mk
parent6f2b602999a9b5253de98e4c8749f821b0046ac2 (diff)
downloadart-3c0335735e9e8963003eeabb984e5208731d972e.zip
art-3c0335735e9e8963003eeabb984e5208731d972e.tar.gz
art-3c0335735e9e8963003eeabb984e5208731d972e.tar.bz2
ART: Run cctest_vixl in test-art-host
Added a make rule "test-art-host-vixl" that will run the vixl test when the host is built in 64b mode. Change-Id: I896f998432d089e6554d2a9c9aa92cb9f89094ec
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk15
1 files changed, 14 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index fe631d9..2196d59 100644
--- a/Android.mk
+++ b/Android.mk
@@ -150,9 +150,22 @@ test-art-run-test: test-art-host-run-test test-art-target-run-test
########################################################################
# host test targets
+.PHONY: test-art-host-vixl
+ifneq ($(BUILD_HOST_64bit),)
+test-art-host-vixl: $(ANDROID_HOST_OUT)/bin/cctest_vixl
+ $(ANDROID_HOST_OUT)/bin/cctest_vixl --run_all
+ @echo vixl PASSED
+
+else
+# vixl test needs 64b host.
+test-art-host-vixl:
+ @echo vixl test only runnable with 64b host build.
+
+endif
+
# "mm test-art-host" to build and run all host tests
.PHONY: test-art-host
-test-art-host: test-art-host-gtest test-art-host-oat test-art-host-run-test
+test-art-host: test-art-host-gtest test-art-host-oat test-art-host-run-test test-art-host-vixl
@echo test-art-host PASSED
.PHONY: test-art-host-interpreter