8042804: Support invoking Hotspot tests from top level

Mon, 12 May 2014 06:16:36 -0700

author
mikael
date
Mon, 12 May 2014 06:16:36 -0700
changeset 1139
de71433b576a
parent 1138
2eec717223fb
child 1140
6d0ebf545f49

8042804: Support invoking Hotspot tests from top level
Reviewed-by: sla, erikj

test/Makefile file | annotate | diff | comparison | revisions
     1.1 --- a/test/Makefile	Thu Jul 10 15:52:04 2014 -0700
     1.2 +++ b/test/Makefile	Mon May 12 06:16:36 2014 -0700
     1.3 @@ -33,6 +33,7 @@
     1.4  # This makefile depends on the availability of sibling directories.
     1.5  LANGTOOLS_DIR=$(TOPDIR)/langtools
     1.6  JDK_DIR=$(TOPDIR)/jdk
     1.7 +HOTSPOT_DIR=$(TOPDIR)/hotspot
     1.8  
     1.9  # Macro to run a test target in a subdir
    1.10  define SUBDIR_TEST # subdirectory target
    1.11 @@ -62,6 +63,9 @@
    1.12  jdk_% core_%s svc_%:
    1.13  	@$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), TEST="$@" $@)
    1.14  
    1.15 +hotspot_%:
    1.16 +	@$(NO_STOPPING)$(call SUBDIR_TEST, $(HOTSPOT_DIR), TEST="$@" $@)
    1.17 +
    1.18  ################################################################
    1.19  
    1.20  # Phony targets (e.g. these are not filenames)

mercurial