285 |
|
<!-- ant -Djtreg.verbose=time,fail,error jtreg --> |
286 |
|
<property name="jtreg.verbose" value="nopass,fail,error"/> |
287 |
|
|
288 |
< |
<delete dir="@{workdir}/JTwork" quiet="true"/> |
288 |
> |
<!-- concurrency > 1 mitigates slowness of some jtreg tests --> |
289 |
> |
<!-- BUT concurrency:auto starts "too many" VMs; just 1 free core each --> |
290 |
> |
<!-- In 2020 concurrency:3 seems like a sweet spot --> |
291 |
> |
<!-- Override using: ant -Djtreg.concurrency="N" jtreg --> |
292 |
> |
<property name="jtreg.concurrency" value="3"/> |
293 |
> |
|
294 |
> |
<delete dir="@{workdir}/JTwork" quiet="true"/> |
295 |
|
<jtreg dir="${jtreg@{target}.src.dir}" |
296 |
|
jdk="${jdk@{target}.home}" |
297 |
|
workDir="@{workdir}/JTwork"> |
298 |
|
<patternset refid="jdk@{target}.jtreg.tests"/> |
299 |
< |
<arg value="-javacoptions:--patch-module=java.base=@{classes}"/> |
300 |
< |
<arg value="-vmoptions:--patch-module=java.base=@{classes}"/> |
299 |
> |
<arg value="-javacoption:--patch-module=java.base=@{classes}"/> |
300 |
> |
<arg value="-vmoption:--patch-module=java.base=@{classes}"/> |
301 |
> |
<arg value="-vmoption:-Xmx256m"/> |
302 |
> |
<arg value="-concurrency:${jtreg.concurrency}"/> |
303 |
> |
<arg value="-vmoptions:-esa -ea"/> |
304 |
|
<arg value="-vmoptions:${vmoptions}" if:set="vmoptions"/> |
305 |
|
<arg value="-agentvm"/> |
306 |
|
<arg value="-noreport"/> |
307 |
|
<arg value="-verbose:@{verbose}"/> |
299 |
– |
<arg value="-vmoptions:-esa -ea"/> |
308 |
|
<arg value="-automatic"/> |
309 |
|
<arg value="-k:!ignore"/> |
310 |
|
<arg line="@{jtregflags}"/> |