blob: a6e8ba4792d309c7f26d83cd0ade026bac40569e [file] [log] [blame]
Alexey Ushakov37ef97c2016-09-09 13:07:47 +03001<project name="PerfTests" default="run" basedir=".">
2 <description>
3 JBRE Performance tests
4 </description>
5 <property name="src" location="src"/>
6 <property name="lib" location="lib"/>
7 <property name="build" location="build"/>
8
9 <target name="init">
10 <tstamp/>
11 <mkdir dir="${build}"/>
12 </target>
13
14 <target name="compile" depends="init"
15 description="compile the source">
16 <javac srcdir="${src}" destdir="${build}">
17 <classpath>
18 <pathelement location="${lib}/junit-4.12.jar" />
19 </classpath>
20 </javac>
21 </target>
22
23 <target name="run" depends="compile">
24 <junit printsummary="on" haltonfailure="no" showoutput="on">
25 <classpath>
26 <pathelement location="${lib}/junit-4.12.jar" />
27 <pathelement location="${lib}/hamcrest-core-1.3.jar" />
28 <pathelement location="${build}"/>
29 </classpath>
30 <formatter type="plain" usefile="false" />
31
32 <test name="performance.text.LCDTextAreaScrollingTest"/>
33 <test name="performance.text.GreyscaleTextAreaScrollingTest"/>
34 </junit>
35 </target>
36
37 <target name="clean"
38 description="clean up">
39 <delete dir="${build}"/>
40 </target>
41</project>