Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 17846 invoked by uid 500); 3 Aug 2001 08:14:21 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 17837 invoked from network); 3 Aug 2001 08:14:21 -0000 From: "Klara Ward" To: Subject: RE: JUnit tests fail -> build fail Date: Fri, 3 Aug 2001 09:23:43 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 In-Reply-To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Do you think you could specify "rather soonish", a week? a month? Is the fail-property in the 1.4 alpha? Klara > -----Original Message----- > From: Stefan Bodewig [mailto:bodewig@apache.org] > Sent: den 3 augusti 2001 08:00 > To: ant-user@jakarta.apache.org > Subject: Re: JUnit tests fail -> build fail > > > On Fri, 3 Aug 2001, Klara Ward wrote: > > > Is there some way you can make build fail if the junit tests fail? > > You can set haltonfailure, bur I want to run all tests. > > In Ant 1.4 (due to be ready rather soonish) you can set a property on > test failure - add to that a fail task in a target that only runs if > the property is set and you should be done. > > > The reason I want this is because I run cruisecontrol, and it's not > > really good to recieve a message "build successful" when tests have > > failed. > > The property has been added for just that reason (I think it was CC's > Robert Watkins who made the request). > > Stefan >