57 |
<property name="build.deprecation" value="false"/> |
<property name="build.deprecation" value="false"/> |
58 |
<property name="build.javadoc.access" value="protected"/> |
<property name="build.javadoc.access" value="protected"/> |
59 |
|
|
|
<!-- Tck options; see JSR166TestCase.java |
|
|
To profile a single tck test class: |
|
|
ant -Djsr166.profileTests=true -Djsr166.profileThreshold=10 -Djsr166.tckTestClass=CompletableFutureTest tck |
|
|
To stress test a single tck test class: |
|
|
ant -Djsr166.tckTestClass=CountedCompleterTest -Djsr166.runsPerTest=100 tck |
|
|
--> |
|
|
<property name="jsr166.profileTests" value="false"/> |
|
|
<property name="jsr166.profileThreshold" value="100"/> |
|
|
<property name="jsr166.runsPerTest" value="1"/> |
|
|
<property name="jsr166.tckTestClass" value="JSR166TestCase"/> |
|
|
|
|
60 |
<!-- Build locations --> |
<!-- Build locations --> |
61 |
<property name="build.dir" location="build"/> |
<property name="build.dir" location="build"/> |
62 |
<property name="build.classes.dir" location="${build.dir}/classes"/> |
<property name="build.classes.dir" location="${build.dir}/classes"/> |
200 |
<pathelement location="${junit.jar}"/> |
<pathelement location="${junit.jar}"/> |
201 |
</path> |
</path> |
202 |
|
|
203 |
|
<!-- Tck options; see JSR166TestCase.java |
204 |
|
To profile a single tck test class: |
205 |
|
ant -Djsr166.profileTests=true -Djsr166.profileThreshold=10 -Djsr166.tckTestClass=CompletableFutureTest tck |
206 |
|
To stress test a single tck test class: |
207 |
|
ant -Djsr166.tckTestClass=CountedCompleterTest -Djsr166.runsPerTest=100 tck |
208 |
|
To stress test a single tck test method: |
209 |
|
ant -Djsr166.tckTestClass=RecursiveTaskTest -Djsr166.runsPerTest=1000 -Djsr166.methodFilter=testAbnormalInvokeAll3 tck |
210 |
|
--> |
211 |
|
<property name="jsr166.tckTestClass" value="JSR166TestCase"/> |
212 |
<macrodef name="run-tck-tests"> |
<macrodef name="run-tck-tests"> |
213 |
<attribute name="tck.src.dir" default="${tck.src.dir}"/> |
<attribute name="tck.src.dir" default="${tck.src.dir}"/> |
214 |
<attribute name="target"/> |
<attribute name="target"/> |
259 |
<jvmarg line="@{jvmflags}"/> |
<jvmarg line="@{jvmflags}"/> |
260 |
|
|
261 |
<!-- ant -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 tck --> |
<!-- ant -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 tck --> |
262 |
<syspropertyset id="java.util.concurrent.ForkJoinPool-properties"> |
<syspropertyset id="system-properties-used-by-tck"> |
263 |
<propertyref prefix="java.util.concurrent.ForkJoinPool"/> |
<propertyref prefix="java.util.concurrent.ForkJoinPool"/> |
264 |
|
<propertyref prefix="jsr166"/> |
265 |
</syspropertyset> |
</syspropertyset> |
266 |
|
|
|
<sysproperty key="jsr166.profileTests" value="${jsr166.profileTests}"/> |
|
|
<sysproperty key="jsr166.profileThreshold" value="${jsr166.profileThreshold}"/> |
|
|
<sysproperty key="jsr166.runsPerTest" value="${jsr166.runsPerTest}"/> |
|
267 |
<classpath> |
<classpath> |
268 |
<pathelement location="${junit.jar}"/> |
<pathelement location="${junit.jar}"/> |
269 |
<pathelement location="@{workdir}/tck-classes"/> |
<pathelement location="@{workdir}/tck-classes"/> |