6952188: update timeout for langtools jtreg tests on JPRT

Thu, 13 May 2010 11:30:28 -0700

author
jjg
date
Thu, 13 May 2010 11:30:28 -0700
changeset 560
ebf09be0222c
parent 550
a6f2911a7c55
child 561
e9ef849ae0ed

6952188: update timeout for langtools jtreg tests on JPRT
Reviewed-by: ohair

test/Makefile file | annotate | diff | comparison | revisions
     1.1 --- a/test/Makefile	Mon May 03 17:12:59 2010 -0700
     1.2 +++ b/test/Makefile	Thu May 13 11:30:28 2010 -0700
     1.3 @@ -150,6 +150,16 @@
     1.4  ###    -jtoptions:-Ejck.env.runtime.testCompile.groupMode.groupSize=$(JCK_GROUP_SIZE)
     1.5  endif
     1.6  
     1.7 +# Timeouts -- by default, increase test timeouts when running on JPRT
     1.8 +ifdef JPRT_JOB_ID
     1.9 +  ifndef JTREG_TIMEOUT_FACTOR
    1.10 +    JTREG_TIMEOUT_FACTOR = 3
    1.11 +  endif
    1.12 +endif
    1.13 +ifdef JTREG_TIMEOUT_FACTOR
    1.14 +  JTREG_OPTIONS += -timeoutFactor:$(JTREG_TIMEOUT_FACTOR)
    1.15 +endif
    1.16 +
    1.17  # Assertions: some tests show failures when assertions are enabled.
    1.18  # Since javac is typically loaded via the bootclassloader (either via TESTJAVA
    1.19  # or TESTBOOTCLASSPATH), you may need -esa to enable assertions in javac.

mercurial