blob: e909a09123c78a3392957078421b1a947969c887 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<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="pcp" default="${toString:partest.compilation.path}"/>
<attribute name="kinds"/>
<sequential>
<property name="partest.dir" value="@{dir}" />
<partest srcdir="@{srcdir}"
kinds="@{kinds}"
colors="@{colors}"
scalacOpts="@{scalacOpts}"
compilationpath="@{pcp}"/>
</sequential>
</macrodef>
</project>
|