Request for guidance on fixing JDK-8075571: Support tier1 and tier2 make targets

joe darcy joe.darcy at
Tue Jun 2 20:04:19 UTC 2015

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.




More information about the build-dev mailing list