8074016: Add convenient way of adding custom test targets to hotspot's test makefile
Summary: Moved the line including the custom testlist to after variables are defined, allowing custom rules to use them
Reviewed-by: erikj, sla
--- a/hotspot/test/Makefile Mon Apr 27 09:08:07 2015 +0200
+++ b/hotspot/test/Makefile Tue Apr 28 07:59:18 2015 +0200
@@ -28,8 +28,6 @@
ALT_MAKE ?= closed
--include $(ALT_MAKE)/Makefile
-
GETMIXEDPATH=echo
# Utilities used
@@ -304,6 +302,8 @@
endif
JTREG_BASIC_OPTIONS += $(JTREG_KEY_OPTION)
+-include $(ALT_MAKE)/Makefile
+
# Make sure jtreg exists
$(JTREG): $(JT_HOME)