blob: 22ad85ac0312b97606efb7d73930b3741c588822 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<project name="partest" basedir=".">
<dirname property="partest.basedir" file="${ant.file.partest}"/>
<property file="${partest.basedir}/included.properties"/>
<macrodef name="testSuite">
<attribute name="dir" default="${partest.basedir}/test"/>
<attribute name="srcdir" default="files"/> <!-- TODO: make targets for `pending` and other subdirs -->
<attribute name="colors" default="${partest.colors}"/>
<attribute name="scalacOpts" default="${scalac.args.optimise}"/>
<attribute name="kinds"/>
<sequential>
<property name="partest.dir" value="@{dir}" />
<partest srcdir="@{srcdir}"
kinds="@{kinds}"
colors="@{colors}"
scalacOpts="@{scalacOpts}"
compilationpathref="partest.compilation.path"/>
</sequential>
</macrodef>
</project>
|