8042804: Support invoking Hotspot tests from top level

Reviewed-by: sla, erikj
This commit is contained in:
Mikael Vidstedt 2014-05-12 06:17:05 -07:00
parent fc1a61a3df
commit f8bbbb68e6

View file

@ -147,6 +147,11 @@ BUNDLE_UP_FAILED = ( exitCode=$$? && $(BUNDLE_UP) && exit $${exitCode} )
all: jtreg_tests
@$(ECHO) "Testing completed successfully"
# Support "hotspot_" prefixed test make targets too
# The hotspot_% targets are for example invoked by the top level Makefile
hotspot_%:
$(MAKE) $*
# Prep for output
prep: clean
@$(MKDIR) -p $(ABS_TEST_OUTPUT_DIR)