57 |
|
<property name="build.deprecation" value="false"/> |
58 |
|
<property name="build.javadoc.access" value="protected"/> |
59 |
|
|
60 |
– |
<!-- Tck options; see JSR166TestCase.java |
61 |
– |
To profile a single tck test class: |
62 |
– |
ant -Djsr166.profileTests=true -Djsr166.profileThreshold=10 -Djsr166.tckTestClass=CompletableFutureTest tck |
63 |
– |
To stress test a single tck test class: |
64 |
– |
ant -Djsr166.tckTestClass=CountedCompleterTest -Djsr166.runsPerTest=100 tck |
65 |
– |
--> |
66 |
– |
<property name="jsr166.profileTests" value="false"/> |
67 |
– |
<property name="jsr166.profileThreshold" value="100"/> |
68 |
– |
<property name="jsr166.runsPerTest" value="1"/> |
69 |
– |
<property name="jsr166.tckTestClass" value="JSR166TestCase"/> |
70 |
– |
|
60 |
|
<!-- Build locations --> |
61 |
|
<property name="build.dir" location="build"/> |
62 |
|
<property name="build.classes.dir" location="${build.dir}/classes"/> |
200 |
|
<pathelement location="${junit.jar}"/> |
201 |
|
</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"> |
213 |
|
<attribute name="tck.src.dir" default="${tck.src.dir}"/> |
214 |
|
<attribute name="target"/> |
259 |
|
<jvmarg line="@{jvmflags}"/> |
260 |
|
|
261 |
|
<!-- ant -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 tck --> |
262 |
< |
<syspropertyset id="java.util.concurrent.ForkJoinPool-properties"> |
262 |
> |
<syspropertyset id="system-properties-used-by-tck"> |
263 |
|
<propertyref prefix="java.util.concurrent.ForkJoinPool"/> |
264 |
+ |
<propertyref prefix="jsr166"/> |
265 |
|
</syspropertyset> |
266 |
|
|
268 |
– |
<sysproperty key="jsr166.profileTests" value="${jsr166.profileTests}"/> |
269 |
– |
<sysproperty key="jsr166.profileThreshold" value="${jsr166.profileThreshold}"/> |
270 |
– |
<sysproperty key="jsr166.runsPerTest" value="${jsr166.runsPerTest}"/> |
267 |
|
<classpath> |
268 |
|
<pathelement location="${junit.jar}"/> |
269 |
|
<pathelement location="@{workdir}/tck-classes"/> |