| 324 |
<bootclasspath refid="javac.bootclasspath"/> |
<bootclasspath refid="javac.bootclasspath"/> |
| 325 |
<compilerarg line="${javac.args} ${build.warnings.option}"/> |
<compilerarg line="${javac.args} ${build.warnings.option}"/> |
| 326 |
<classpath refid="test.classpath"/> |
<classpath refid="test.classpath"/> |
|
<include name="**/*Test.java"/> |
|
| 327 |
|
|
| 328 |
</javac> |
</javac> |
| 329 |
</target> |
</target> |
| 338 |
dir="${build.reports.dir}" |
dir="${build.reports.dir}" |
| 339 |
fork="true"> |
fork="true"> |
| 340 |
|
|
| 341 |
<jvmarg value="-Xbootclasspath/p:${product.jar}"/> |
<!-- |
| 342 |
|
! This nastiness is so JUnit can test classes we are inserting |
| 343 |
<classpath> |
! into the java.* packages. |
| 344 |
<!-- <path refid="test.classpath"/> --> |
--> |
| 345 |
<pathelement location="${build.testcases.dir}"/> |
<jvmarg value="-Xbootclasspath/p:${product.jar};${build.testcases.dir};${junit.jar}"/> |
|
</classpath> |
|
| 346 |
|
|
| 347 |
<formatter type="xml"/> |
<formatter type="xml"/> |
| 348 |
|
|
| 383 |
<!-- FIXME: this test isn't specific enough --> |
<!-- FIXME: this test isn't specific enough --> |
| 384 |
<available property="junit.available" |
<available property="junit.available" |
| 385 |
classname="junit.framework.TestCase"/> |
classname="junit.framework.TestCase"/> |
| 386 |
<fail message="Need JUnit 1.8 to run tests" unless="junit.available"/> |
<fail message="Need JUnit 3.8 to run tests" unless="junit.available"/> |
| 387 |
</target> |
</target> |
| 388 |
|
|
| 389 |
|
|