changeset 1053:de71433b576a

8042804: Support invoking Hotspot tests from top level Reviewed-by: sla, erikj
author mikael
date Mon, 12 May 2014 06:16:36 -0700
parents 2eec717223fb
children 6d0ebf545f49
files test/Makefile
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Thu Jul 10 15:52:04 2014 -0700
+++ b/test/Makefile	Mon May 12 06:16:36 2014 -0700
@@ -33,6 +33,7 @@
 # This makefile depends on the availability of sibling directories.
 LANGTOOLS_DIR=$(TOPDIR)/langtools
 JDK_DIR=$(TOPDIR)/jdk
+HOTSPOT_DIR=$(TOPDIR)/hotspot
 
 # Macro to run a test target in a subdir
 define SUBDIR_TEST # subdirectory target
@@ -62,6 +63,9 @@
 jdk_% core_%s svc_%:
 	@$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), TEST="$@" $@)
 
+hotspot_%:
+	@$(NO_STOPPING)$(call SUBDIR_TEST, $(HOTSPOT_DIR), TEST="$@" $@)
+
 ################################################################
 
 # Phony targets (e.g. these are not filenames)