langtools/test/Makefile
changeset 42409 6af953b43ebf
parent 42406 3a2f57a44b57
child 42968 2e5d313df9fd
--- a/langtools/test/Makefile	Thu Dec 01 11:16:45 2016 +0000
+++ b/langtools/test/Makefile	Thu Dec 01 15:10:32 2016 +0100
@@ -161,6 +161,9 @@
 JTREG_TESTVM_MEMORY_OPTION = -vmoption:-Xmx768m
 JTREG_OPTIONS += $(JTREG_TESTVM_MEMORY_OPTION)
 
+# Retain all files for failing tests
+JTREG_OPTIONS += -retain:fail,error
+
 ifdef EXTRA_JTREG_OPTIONS
   JTREG_OPTIONS += $(EXTRA_JTREG_OPTIONS)
 endif