blob: e7081ab09690be7bf570ed86bcc9b318646e6a5a [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"/>
Alexey Ushakova55eae22016-09-09 15:11:59 +03008 <property name="test_jvm" location="../../../jbsdk/jdk/Contents/Home/bin/java"/>
Alexey Ushakov37ef97c2016-09-09 13:07:47 +03009
10 <target name="init">
11 <tstamp/>
12 <mkdir dir="${build}"/>
13 </target>
14
15 <target name="compile" depends="init"
16 description="compile the source">
17 <javac srcdir="${src}" destdir="${build}">
18 <classpath>
19 <pathelement location="${lib}/junit-4.12.jar" />
20 </classpath>
21 </javac>
22 </target>
23
24 <target name="run" depends="compile">
Alexey Ushakova55eae22016-09-09 15:11:59 +030025 <junit printsummary="on" haltonfailure="no" showoutput="on" fork="yes" jvm="${test_jvm}">
Alexey Ushakov37ef97c2016-09-09 13:07:47 +030026 <classpath>
27 <pathelement location="${lib}/junit-4.12.jar" />
28 <pathelement location="${lib}/hamcrest-core-1.3.jar" />
29 <pathelement location="${build}"/>
30 </classpath>
Alexey Ushakova55eae22016-09-09 15:11:59 +030031 <formatter type="plain" />
Alexey Ushakov37ef97c2016-09-09 13:07:47 +030032
33 <test name="performance.text.LCDTextAreaScrollingTest"/>
34 <test name="performance.text.GreyscaleTextAreaScrollingTest"/>
35 </junit>
36 </target>
37
38 <target name="clean"
39 description="clean up">
40 <delete dir="${build}"/>
41 </target>
42</project>