PS It is a bit lame, but if new new definitions are put into the
jdk/test/TEST.groups file
diff -r df4d75f58f15 test/TEST.groups
--- a/test/TEST.groups Thu May 28 11:31:40 2015 -0700
+++ b/test/TEST.groups Tue Jun 02 13:21:06 2015 -0700
@@ -42,6 +42,9 @@
:jdk_other \
:jdk_svc
+jdk_tier1 = :tier1
+jdk_tier2 = :tier2
+
###############################################################################
#
# Other test definitions; generally smaller granularity than tiers
then
make test TEST="jdk_tier1"
does what is wanted, at least for the jdk repo.
I don't know if invoking test targets is supported for repos other than jdk.
Thanks,
-Joe
On 6/2/2015 1:04 PM, joe darcy wrote:
Hello makefile gurus,
To provide the next level of support to the tiered testing policy [1],
I'd like to get some advice on how best to tackle
JDK-8075571: Support tier1 and tier2 make targets
From the bug, currently one can invoke test groups like so:
make test-only TEST=jdk_lang
That this, this above make command will run the tests in the
":jdk_lang" test group. By applying the simple edit
diff -r df4d75f58f15 test/Makefile
--- a/test/Makefile Thu May 28 11:31:40 2015 -0700
+++ b/test/Makefile Tue Jun 02 13:00:06 2015 -0700
@@ -263,7 +263,7 @@
# ------------------------------------------------------------------
-jdk_% core_% svc_%:
+jdk_% core_% svc_% tier%:
$(ECHO) "Running tests: $@"
for each in $@; do \
$(MAKE) -j 1 TEST_SELECTION=":$$each" UNIQUE_DIR=$$each
jtreg_tests; \
to the test/Makefile, I was hoping
make test-only TEST=tier1
would in turn be able to run the ":tier1" test group. But alas, that
does not occur and I don't see what is (not) happening for that
omission to take place.
Thanks,
-Joe
[1]
http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-March/001991.html