changeset 920:9937f406e27e

8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests Reviewed-by: dholmes, sla, tbell
author alanb
date Tue, 19 Nov 2013 14:11:59 +0000
parents a667caba1e84
children 24847bd96465
files make/jprt.properties test/Makefile
diffstat 2 files changed, 31 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/make/jprt.properties	Thu Nov 14 10:53:23 2013 +0100
+++ b/make/jprt.properties	Tue Nov 19 14:11:59 2013 +0000
@@ -66,15 +66,17 @@
 jprt.make.rule.default.test.targets=				\
     ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
     ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
-    ${jprt.my.test.target.set:TESTNAME=jdk_math}
+    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
+    ${jprt.my.test.target.set:TESTNAME=jdk_util}
+    
 
 # Default vm test targets (testset=core)
-jprt.vm.core.test.targets=                                      \
-    ${jprt.vm.default.test.targets}
+jprt.vm.core.test.targets=
 
 # Core jdk test targets (testset=core)
 jprt.make.rule.core.test.targets=                               \
-    ${jprt.make.rule.default.test.targets},                     \
+    ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
+    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
     ${jprt.my.test.target.set:TESTNAME=jdk_util},               \
     ${jprt.my.test.target.set:TESTNAME=jdk_io},			\
     ${jprt.my.test.target.set:TESTNAME=jdk_net},		\
@@ -83,13 +85,22 @@
     ${jprt.my.test.target.set:TESTNAME=jdk_security2},          \
     ${jprt.my.test.target.set:TESTNAME=jdk_security3},          \
     ${jprt.my.test.target.set:TESTNAME=jdk_rmi},                \
+    ${jprt.my.test.target.set:TESTNAME=jdk_text},		\
+    ${jprt.my.test.target.set:TESTNAME=jdk_time},               \
+    ${jprt.my.test.target.set:TESTNAME=jdk_other},              \
+    ${jprt.my.test.target.set:TESTNAME=core_tools}
+
+# Svc vm test targets (testset=svc)
+jprt.vm.svc.test.targets=
+
+# Core jdk test targets (testset=svc)
+jprt.make.rule.svc.test.targets=                                \
     ${jprt.my.test.target.set:TESTNAME=jdk_management},         \
+    ${jprt.my.test.target.set:TESTNAME=jdk_instrument},         \
     ${jprt.my.test.target.set:TESTNAME=jdk_jmx},                \
-    ${jprt.my.test.target.set:TESTNAME=jdk_text},		\
-    ${jprt.my.test.target.set:TESTNAME=jdk_tools},              \
+    ${jprt.my.test.target.set:TESTNAME=jdk_jdi},                \
     ${jprt.my.test.target.set:TESTNAME=jdk_jfr},                \
-    ${jprt.my.test.target.set:TESTNAME=jdk_time},               \
-    ${jprt.my.test.target.set:TESTNAME=jdk_other}
+    ${jprt.my.test.target.set:TESTNAME=svc_tools}
 
 # All vm test targets (testset=all)
 jprt.vm.all.test.targets=    					\
@@ -100,14 +111,24 @@
 # All jdk test targets (testset=all)
 jprt.make.rule.all.test.targets=    				\
     ${jprt.make.rule.core.test.targets}, 			\
+    ${jprt.make.rule.svc.test.targets},                         \
     ${jprt.my.test.target.set:TESTNAME=jdk_awt},		\
     ${jprt.my.test.target.set:TESTNAME=jdk_beans1},             \
     ${jprt.my.test.target.set:TESTNAME=jdk_beans2},		\
     ${jprt.my.test.target.set:TESTNAME=jdk_beans3},		\
-    ${jprt.my.test.target.set:TESTNAME=jdk_jdi},                \
     ${jprt.my.test.target.set:TESTNAME=jdk_sound},		\
     ${jprt.my.test.target.set:TESTNAME=jdk_swing}
 
+# PIT vm test targets (testset=pit)
+jprt.vm.pit.test.targets=                                       \
+   ${jprt.vm.all.test.targets}
+
+# PIT jdk test targets (testset=pit)
+jprt.make.rule.pit.test.targets=                                \
+    ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
+    ${jprt.make.rule.core.test.targets},                        \
+    ${jprt.make.rule.svc.test.targets}
+
 # JCK test targets in test/Makefile (no windows)
 jprt.my.jck.test.target.set=					\
     solaris_sparcv9_5.10-product-c2-JCK7TESTRULE, 		\
--- a/test/Makefile	Thu Nov 14 10:53:23 2013 +0100
+++ b/test/Makefile	Tue Nov 19 14:11:59 2013 +0000
@@ -59,7 +59,7 @@
 langtools_% :
 	@$(NO_STOPPING)$(call SUBDIR_TEST, $(LANGTOOLS_DIR), JT_JAVA=$(PRODUCT_HOME) JTREG_HOME=$(JT_HOME) TEST="$(subst langtools_,,$@)" $(subst langtools_,,$@))
 
-jdk_% :
+jdk_% core_%s svc_%:
 	@$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), TEST="$@" $@)
 
 ################################################################