Skip to content

Commit 38fbd44

Browse files
author
Nicola Ken Barozzi
committed
Make test testcases run.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140309 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4507f3c commit 38fbd44

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

build.xml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!--
55
"IO" component of the Jakarta Commons Subproject
6-
$Id: build.xml,v 1.3 2002/07/09 14:58:35 nicolaken Exp $
6+
$Id: build.xml,v 1.4 2002/07/09 15:21:38 nicolaken Exp $
77
-->
88

99

@@ -252,7 +252,7 @@
252252
description="Run all unit test cases">
253253
</target>
254254

255-
255+
<!--
256256
<target name="test.io" depends="compile.tests">
257257
<echo message="Running IO tests ..."/>
258258
<java classname="${test.runner}" fork="yes"
@@ -261,5 +261,27 @@
261261
<classpath refid="test.classpath"/>
262262
</java>
263263
</target>
264+
-->
265+
<target name="test.io" depends="compile.tests">
266+
267+
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
268+
269+
<junit printsummary="yes" haltonfailure="${test.failonerror}" fork="yes">
264270

271+
<formatter type="brief" usefile="false"/>
272+
<classpath refid="test.classpath"/>
273+
274+
<batchtest todir="${build.home}/tests">
275+
<fileset dir="${build.home}/tests">
276+
<include name="**/test/*TestCase.class"/>
277+
<include name="**/*Test.class" />
278+
<include name="**/*TestCase.class" />
279+
<include name="**/Test*.class" />
280+
<exclude name="**/AllTest.class" />
281+
<exclude name="**/*$$*Test.class" />
282+
</fileset>
283+
</batchtest>
284+
</junit>
285+
</target>
286+
265287
</project>

0 commit comments

Comments
 (0)