ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dees, Ian (GE Healthcare)" <Ian.D...@ge.com>
Subject RE: Parallel Forked JUnit Runs?
Date Thu, 06 Sep 2007 17:03:57 GMT
Since the <junit> task is actually forking the JVMs, I don't think that
putting the <junit> task in <parallel> will work. I'd have to put
multiple <junit>'s inside the <parallel>. Is there a more elegant way to
do this?

I suppose I could extend the <junit> task's forkMode to add a parallel. 

-----Original Message-----
From: Ramu Sethu [mailto:sramhu@gmail.com] 
Sent: Thursday, September 06, 2007 12:01 PM
To: Ant Users List
Subject: Re: Parallel Forked JUnit Runs?

I have not tried but u can make use of container <parallel> task

for more info
Check this link
http://ant.apache.org/manual/CoreTasks/parallel.html

On 9/6/07, Dees, Ian (GE Healthcare) <Ian.Dees@ge.com> wrote:
> Hi list,
>
> We run our junit task with fork=perTest so that each test performs its
> work in a separate JVM. Is there a way I can have Ant launch each of
> those JVMs in a parallel fashion so that we can take advantage of the
> several cores on our build server?
>
> Thanks!
>


-- 
Thank you
Ramu S

  If A is success in life, then A equals x plus y plus z. Work is x; y
is play; and z is keeping your mouth shut.
- Albert Einstein

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message