/[cvs]/jsr166/build.xml
ViewVC logotype

Diff of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.321 by jsr166, Sat Dec 12 18:58:10 2020 UTC revision 1.322 by jsr166, Sat Dec 12 22:13:53 2020 UTC
# Line 285  Line 285 
285      <!-- ant -Djtreg.verbose=time,fail,error jtreg -->      <!-- ant -Djtreg.verbose=time,fail,error jtreg -->
286      <property name="jtreg.verbose" value="nopass,fail,error"/>      <property name="jtreg.verbose" value="nopass,fail,error"/>
287    
288      <delete dir="@{workdir}/JTwork"   quiet="true"/>      <!-- 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}"      <jtreg dir="${jtreg@{target}.src.dir}"
296             jdk="${jdk@{target}.home}"             jdk="${jdk@{target}.home}"
297             workDir="@{workdir}/JTwork">             workDir="@{workdir}/JTwork">
298        <patternset refid="jdk@{target}.jtreg.tests"/>        <patternset refid="jdk@{target}.jtreg.tests"/>
299        <arg value="-javacoptions:--patch-module=java.base=@{classes}"/>        <arg value="-javacoption:--patch-module=java.base=@{classes}"/>
300        <arg value="-vmoptions:--patch-module=java.base=@{classes}"/>        <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"/>        <arg value="-vmoptions:${vmoptions}" if:set="vmoptions"/>
305        <arg value="-agentvm"/>        <arg value="-agentvm"/>
306        <arg value="-noreport"/>        <arg value="-noreport"/>
307        <arg value="-verbose:@{verbose}"/>        <arg value="-verbose:@{verbose}"/>
       <arg value="-vmoptions:-esa -ea"/>  
308        <arg value="-automatic"/>        <arg value="-automatic"/>
309        <arg value="-k:!ignore"/>        <arg value="-k:!ignore"/>
310        <arg line="@{jtregflags}"/>        <arg line="@{jtregflags}"/>

Legend:
Removed from v.1.321  
changed lines
  Added in v.1.322

dl@cs.oswego.edu
ViewVC Help
Powered by ViewVC 1.1.27