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
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 @@
&& 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)