changeset 14739:9d8222b38aee

8159186: jdk/test/Makefile: allow users to set verbosity Reviewed-by: erikj
author dlsmith
date Mon, 13 Jun 2016 09:31:20 -0600
parents 19854fd1b993
children 225a61bf9a6d
files test/Makefile
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Mon Jun 13 15:48:17 2016 +0100
+++ b/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