Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 33462 invoked from network); 25 Nov 2005 12:41:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Nov 2005 12:41:36 -0000 Received: (qmail 83249 invoked by uid 500); 25 Nov 2005 12:41:31 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 83216 invoked by uid 500); 25 Nov 2005 12:41:31 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 83205 invoked by uid 99); 25 Nov 2005 12:41:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2005 04:41:30 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2005 04:43:02 -0800 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id jAPCePXF010689 for ; Fri, 25 Nov 2005 13:40:27 +0100 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Fri, 25 Nov 2005 13:40:27 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: AW: how to BUILD FAILED when tests failed Date: Fri, 25 Nov 2005 13:40:27 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how to BUILD FAILED when tests failed Thread-Index: AcXxvHtCZH59GesJTmCo7uGinPRmVQAAMWfw From: To: X-OriginalArrivalTime: 25 Nov 2005 12:40:27.0540 (UTC) FILETIME=[69C29540:01C5F1BD] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N At least one test failed - see the = report. =20 You have collected all infos you need, you only have to use that :-) Jan >-----Urspr=FCngliche Nachricht----- >Von: Mikael Petterson (KI/EAB) [mailto:mikael.petterson@ericsson.com]=20 >Gesendet: Freitag, 25. November 2005 13:34 >An: user@ant.apache.org >Betreff: how to BUILD FAILED when tests failed > >Hi, > >I am using the following lines for testing: > > >description=3D"run all tests"> > failureproperty=3D"junit_test_failed" forkmode=3D"perBatch"> > > value=3D"-Demma.coverage.out.file=3D${coverage.dir}/coverage.emma" />=20 > =20 > > > > > > > > > > > > > > > > > > > > test failed"/> > > >How can I make my build to 'BUILD FAILED' and still execute=20 >the targets after test:test since it is part of another taget=20 >called test ( see below). > > > > > >cheers, > >//mikael > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >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