RFR: JDK-8168607: langtools/test/Makefile should set -retain:fail,error by default

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Dec 1 08:36:45 UTC 2016


On 2016-11-30 15:30, Erik Joelsson wrote:
> This patch moves the langtools/test/Makefile one step closer being 
> alignmened with the rest of the test/*/Makefiles by adding the 
> -retain:fail,error jtreg option.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8168607
>
> Patch:
>
> diff -r ab39653a1e6d test/Makefile
> --- a/test/Makefile
> +++ b/test/Makefile
> @@ -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

Looks good to me.

>
>
> /Erik
>



More information about the compiler-dev mailing list