summaryrefslogtreecommitdiffstats
path: root/test/Android.mk
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-08-28 09:37:40 -0700
committerBrian Carlstrom <bdc@google.com>2013-08-28 17:43:31 -0700
commita404db0a6d6f0f9da259d2d27bae9ee21ac05d38 (patch)
tree5e8476169834ac403b304dad3d5bb3d3d63ab726 /test/Android.mk
parent10cc81056261625902a8a073bafb9f499eec4ff7 (diff)
downloadart-a404db0a6d6f0f9da259d2d27bae9ee21ac05d38.zip
art-a404db0a6d6f0f9da259d2d27bae9ee21ac05d38.tar.gz
art-a404db0a6d6f0f9da259d2d27bae9ee21ac05d38.tar.bz2
Add test-art-oat-<test> test-art-run-test-<test> variants
Lets you run a test across all configurations (host, target, interpretter, ...) Change-Id: Ie1c6b5f0e3ae1ef44a710ebec07daf2bd0309413
Diffstat (limited to 'test/Android.mk')
-rw-r--r--test/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Android.mk b/test/Android.mk
index 596c411..6f498e8 100644
--- a/test/Android.mk
+++ b/test/Android.mk
@@ -133,6 +133,12 @@ test-art-host-oat-interpreter-$(1): $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1)
&& echo test-art-host-oat-interpreter-$(1) PASSED || (echo test-art-host-oat-interpreter-$(1) FAILED && exit 1)
$(hide) rm -r /tmp/android-data/test-art-host-oat-interpreter-$(1)
+.PHONY: test-art-host-oat-$(1)
+test-art-host-oat-$(1): test-art-host-oat-default-$(1) test-art-host-oat-interpreter-$(1)
+
+.PHONY: test-art-oat-$(1)
+test-art-oat-$(1): test-art-host-oat-$(1) test-art-target-oat-$(1)
+
ART_TEST_TARGET_OAT_TARGETS += test-art-target-oat-$(1)
ART_TEST_HOST_OAT_DEFAULT_TARGETS += test-art-host-oat-default-$(1)
ART_TEST_HOST_OAT_INTERPRETER_TARGETS += test-art-host-oat-interpreter-$(1)