You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ma...@apache.org on 2002/12/20 20:26:26 UTC
cvs commit: jakarta-ojb build.xml
mattbaird 2002/12/20 11:26:26
Modified: . build.xml
Log:
ability to execute a single test case instead of all. Format is: build run-test -Dtest.package=org.apache.....
Revision Changes Path
1.57 +10 -0 jakarta-ojb/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ojb/build.xml,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- build.xml 28 Nov 2002 10:51:05 -0000 1.56
+++ build.xml 20 Dec 2002 19:26:26 -0000 1.57
@@ -620,6 +620,16 @@
<target name="junit" depends="main, junit-no-compile"
description="Performs all JUnit regression tests."/>
+ <target name="run-test">
+ <java classname="junit.textui.TestRunner" fork="yes" jvm="${java.home}/bin/java">
+ <!--<jvmarg value="-Xdebug"/> // This is for debuger purpose. Please don't remove.
+ <jvmarg value="-Xnoagent"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,address=1111,suspend=n"/> -->
+ <classpath refid="runtime-classpath"/>
+ <arg value="${test.package}"/>
+ </java>
+ </target>
+
<target name="junit-no-compile"
depends="prepare, prepare-testdb, junit-no-compile-no-prepare"
/>