8159186: jdk/test/Makefile: allow users to set verbosity
authordlsmith
Mon, 13 Jun 2016 09:31:20 -0600
changeset 38890 c79987d8e3bc
parent 38889 9515fc4c3319
child 38891 57d7bbc02fa6
8159186: jdk/test/Makefile: allow users to set verbosity Reviewed-by: erikj
jdk/test/Makefile
--- a/jdk/test/Makefile	Mon Jun 13 15:48:17 2016 +0100
+++ b/jdk/test/Makefile	Mon Jun 13 09:31:20 2016 -0600
@@ -316,8 +316,9 @@
 # Always turn on assertions
 JTREG_ASSERT_OPTION = -ea -esa
 JTREG_BASIC_OPTIONS += $(JTREG_ASSERT_OPTION)
-# Report details on all failed or error tests, times too
-JTREG_BASIC_OPTIONS += -v:fail,error,time
+# jtreg verbosity setting
+JTREG_VERBOSE ?= fail,error,time
+JTREG_BASIC_OPTIONS += $(if $(JTREG_VERBOSE),-v:$(JTREG_VERBOSE))
 # Retain all files for failing tests
 JTREG_BASIC_OPTIONS += -retain:fail,error
 # Ignore tests are not run and completely silent about it