From f0733b02ca06c28e3c4e4d6fce5c71adb6aa1273 Mon Sep 17 00:00:00 2001 From: alanb Date: Tue, 19 Nov 2013 14:11:59 +0000 Subject: [PATCH] 8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests Reviewed-by: dholmes, sla, tbell --- make/jprt.properties | 39 ++++++++++++++++++++++++++++++--------- test/Makefile | 2 +- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/make/jprt.properties b/make/jprt.properties index 5768ed2..ae20e82 100644 --- a/make/jprt.properties +++ b/make/jprt.properties @@ -66,15 +66,17 @@ jprt.vm.default.test.targets= \ 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.make.rule.core.test.targets= \ ${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 @@ jprt.vm.all.test.targets= \ # 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, \ diff --git a/test/Makefile b/test/Makefile index af84275..08b91bf 100644 --- a/test/Makefile +++ b/test/Makefile @@ -59,7 +59,7 @@ all: jdk_all langtools_all 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="$@" $@) ################################################################ -- GitLab