changeset 3700:3e9fcb2a7a52

8167354: Missing jtreg output when run using langtools makefiles Reviewed-by: erikj, sla
author mlarsson
date Mon, 10 Oct 2016 12:36:56 +0200
parents 9e9cd74c2787
children de2329607ab5
files test/Makefile
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Tue Oct 11 13:16:45 2016 +0200
+++ b/test/Makefile	Mon Oct 10 12:36:56 2016 +0200
@@ -321,6 +321,7 @@
 	  $(JTREG_EXCLUSIONS) \
 	  $(JTREG_OPTIONS) \
 	  $(JTREG_TESTDIRS) \
+	    2>&1 | tee $(JTREG_OUTPUT_DIR)/output.txt \
 	|| ( $(call EXIT_IF_FATAL,$(FATAL_JTREG_EXIT)) ; \
 	    echo $$status > $(JTREG_OUTPUT_DIR)/status.txt \
 	)