262 |
|
<patternset id="jdk8.jtreg.tests"> |
263 |
|
<include name="**/*.java"/> |
264 |
|
<exclude name="util/Spliterator/SpliteratorCharacteristics.java"/> |
265 |
+ |
<!-- https://bugs.openjdk.java.net/browse/JDK-6842353 --> |
266 |
+ |
<exclude name="util/WeakHashMap/GCDuringIteration.java"/> |
267 |
|
</patternset> |
268 |
|
</fileset> |
269 |
|
|
276 |
|
<exclude name="util/concurrent/CompletableFuture/**/*.java"/> |
277 |
|
<exclude name="util/concurrent/forkjoin/SubmissionTest.java"/> |
278 |
|
<exclude name="util/concurrent/locks/StampedLock/**/*.java"/> |
279 |
+ |
<exclude name="util/concurrent/atomic/Serial.java"/> |
280 |
|
</patternset> |
281 |
|
</fileset> |
282 |
|
|
492 |
|
description="Runs tck and jtreg tests for main"> |
493 |
|
</target> |
494 |
|
|
495 |
+ |
<target name="jtreg8" description="Runs jtreg tests with jdk8"> |
496 |
+ |
|
497 |
+ |
<antcall target="jtreg"> |
498 |
+ |
<param name="build.main.java.version" value="8"/> |
499 |
+ |
<param name="build.main.javac" value="${javac8}"/> |
500 |
+ |
</antcall> |
501 |
+ |
|
502 |
+ |
</target> |
503 |
+ |
|
504 |
|
<target name="test89" |
505 |
|
description="Runs tck and jtreg tests for main for multiple java versions"> |
506 |
|
|
508 |
|
<antcall target="test"> |
509 |
|
<param name="build.main.java.version" value="8"/> |
510 |
|
<param name="build.main.javac" value="${javac8}"/> |
499 |
– |
<param name="jtreg.exclude.file" value="${jtreg.src.dir}/jdk9tests"/> |
511 |
|
</antcall> |
512 |
|
|
513 |
|
<antcall target="clean"/> |
566 |
|
|
567 |
|
</target> |
568 |
|
|
569 |
+ |
|
570 |
+ |
<target name="compile-test-loops" depends="jar" |
571 |
+ |
description="compile all the perf tests in src/test/loops"> |
572 |
+ |
|
573 |
+ |
<mkdir dir="${build.dir}/test/loops"/> |
574 |
+ |
|
575 |
+ |
<javac srcdir="${basedir}/src/test/loops" |
576 |
+ |
destdir="${build.dir}/test/loops" |
577 |
+ |
debug="${build.debug}" |
578 |
+ |
debuglevel="${build.debuglevel}" |
579 |
+ |
deprecation="${build.deprecation}" |
580 |
+ |
includeAntRuntime="false" |
581 |
+ |
includeJavaRuntime="false" |
582 |
+ |
executable="${javac9}" |
583 |
+ |
fork="true"> |
584 |
+ |
|
585 |
+ |
<include name="*.java"/> |
586 |
+ |
<compilerarg value="-XDignore.symbol.file=true"/> |
587 |
+ |
<compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial"/> |
588 |
+ |
<compilerarg value="-Xbootclasspath/p:${product.jar}"/> |
589 |
+ |
<compilerarg line="${build.args}"/> |
590 |
+ |
|
591 |
+ |
</javac> |
592 |
+ |
|
593 |
+ |
</target> |
594 |
+ |
|
595 |
|
|
596 |
|
<!-- jsr166 4jdk7 --> |
597 |
|
|