8167354: Missing jtreg output when run using langtools makefiles
authormlarsson
Mon, 10 Oct 2016 12:36:56 +0200
changeset 41520 b73242db5c5b
parent 41519 612f31a9b42b
child 41521 9f45ffccd1c8
8167354: Missing jtreg output when run using langtools makefiles Reviewed-by: erikj, sla
langtools/test/Makefile
--- a/langtools/test/Makefile	Tue Oct 11 13:16:45 2016 +0200
+++ b/langtools/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 \
 	)