From dev-return-87897-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Sun Mar 30 23:54:32 2014 Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A72F911A42 for ; Sun, 30 Mar 2014 23:54:32 +0000 (UTC) Received: (qmail 54902 invoked by uid 500); 30 Mar 2014 23:54:31 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 54773 invoked by uid 500); 30 Mar 2014 23:54:31 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 54765 invoked by uid 99); 30 Mar 2014 23:54:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2014 23:54:31 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antoine@gmx.de designates 212.227.17.22 as permitted sender) Received: from [212.227.17.22] (HELO mout.gmx.net) (212.227.17.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2014 23:54:25 +0000 Received: from 192.168.1.77 ([72.89.118.2]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lmqxo-1WxyXH3fCe-00h4Yk for ; Mon, 31 Mar 2014 01:54:04 +0200 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: svn commit: r1580520 - in /ant/core/trunk: ./ manual/Tasks/ src/main/org/apache/tools/ant/taskdefs/optional/junit/ From: Antoine Levy Lambert In-Reply-To: Date: Sun, 30 Mar 2014 19:53:59 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20140323161830.18BF12388860@eris.apache.org> <99B91C9D-7931-4646-8353-72342BFF45A3@gmx.de> To: Ant Developers List X-Mailer: Apple Mail (2.1874) X-Provags-ID: V03:K0:XZFxawd0Rx56HOCP90Qfi0CpCyeu+A9W83Zw1Y6cyavXK8QwpMI sN9vbC5CCL2G6M/V3ZRSDgYKr4Nr+0t33k5eERwne3VFANOqJG8L7eInTWH/snkBbpPaasW 9hKTYElv6tgnE4QyL0Z6abOBIGFqIZm4bQgQ6xM5ssRb3fStUqfCpUc8EEPU0BQmjDrnzFB C4IQ8JtoYc0ukstV+69/w== X-Virus-Checked: Checked by ClamAV on apache.org Hello Matt, thanks for this suggestion. I have not used the JUnit TemporaryFolder rule because it is introduced = in JUnit 4 and the Ant test cases are extending a class of JUnit 3. The policy of the Ant project is usually to keep everything binary = compatible =85 If there is interest and willing volunteers and a consensus we could = change that, at least in the case of BuildFileTest and JUnit 3/4 and = base =93BuildFileTest=94 on JUnit 4. Regards, Antoine On Mar 23, 2014, at 1:50 PM, Matt Sicker wrote: > Could you use the JUnit TemporaryFolder rule? That appears to be = rather > threadsafe. >=20 >=20 > On 23 March 2014 11:28, Antoine Levy Lambert wrote: >=20 >> Hi, >>=20 >> Thanks to John Elion for this contribution. >>=20 >> I have tried it on the Ant test cases. This makes the execution of = the >> test cases shorter by 3 minutes with 2 threads [ not sure what is the = total >> time because I also run the antunit tests ]. >>=20 >> Some of our test cases do not support parallelism because they are >> creating and dropping temporary directories and files which have the = same >> names. >>=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org