You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2003/09/02 14:54:01 UTC
Re: cvs commit: jakarta-lucene build.xml
Those changes are fine by me.
You could also shorten that 'testcase' part (e.g. test, ut, tc, t).
Otis
--- Erik Hatcher <li...@ehatchersolutions.com> wrote:
> FYI - this enables running a single unit test like this:
>
> ant test-unit -Dtestcase=TestRussianAnalyzer
>
> Anyone object to me changing test-unit target name to "test" and the
> current "test" one to "test-compile"? Wouldn't it make more sense to
>
> type "ant test" to run the tests, not just compile them?
>
> Also, if there is anything I broke with the build, by all means let
> me
> know - this is my first foray into committing to Lucene.
>
>
> On Tuesday, August 12, 2003, at 06:49 AM, ehatcher@apache.org wrote:
>
> > ehatcher 2003/08/12 03:49:44
> >
> > Modified: . build.xml
> > Log:
> > allow isolation of a single unit test
> >
> > Revision Changes Path
> > 1.40 +4 -1 jakarta-lucene/build.xml
> >
> > Index: build.xml
> >
> ===================================================================
> > RCS file: /home/cvs/jakarta-lucene/build.xml,v
> > retrieving revision 1.39
> > retrieving revision 1.40
> > diff -u -r1.39 -r1.40
> > --- build.xml 12 Aug 2003 10:37:09 -0000 1.39
> > +++ build.xml 12 Aug 2003 10:49:44 -0000 1.40
> > @@ -284,8 +284,11 @@
> > <classpath refid="junit.classpath"/>
> > <formatter type="plain"/>
> > <formatter type="brief" usefile="false"/>
> > - <batchtest fork="yes" todir="${junit.reports}">
> > + <batchtest fork="yes" todir="${junit.reports}"
> > unless="testcase">
> > <fileset dir="${junit.src}" includes="**/Test*.java" />
> > + </batchtest>
> > + <batchtest fork="yes" todir="${junit.reports}"
> if="testcase">
> > + <fileset dir="${junit.src}"
> includes="**/${testcase}.java"
> > />
> > </batchtest>
> > </junit>
> > </target>
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com