Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 3250 invoked from network); 26 Feb 2004 10:27:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Feb 2004 10:27:27 -0000 Received: (qmail 70002 invoked by uid 500); 26 Feb 2004 10:26:59 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 69971 invoked by uid 500); 26 Feb 2004 10:26:59 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 69955 invoked from network); 26 Feb 2004 10:26:58 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 26 Feb 2004 10:26:58 -0000 Received: from corvil.com (preilly.local.corvil.com [172.18.1.173]) by corvil.com (8.12.9/8.12.5) with ESMTP id i1QARAjD080848 for ; Thu, 26 Feb 2004 10:27:11 GMT (envelope-from peter.reilly@corvil.com) Message-ID: <403DC9BC.9010500@corvil.com> Date: Thu, 26 Feb 2004 10:26:04 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: cvs commit: ant/src/etc/testcases/types filelist.xml References: <879A5AD5DD0ED511891F0003473A9B560E23EDCD@Z011004> In-Reply-To: <879A5AD5DD0ED511891F0003473A9B560E23EDCD@Z011004> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Jan, as regards the tests - it looks like you are using the installed ant classes with the cvs ant test classes. Always with running the tests, I do: cd ~/cvs/ant rm -rf bootstrap build; ./build.sh test -Dtest.haltonfailure=yes Peter Jan.Materne@rzf.fin-nrw.de wrote: >>a) Is this change ok? >> >> >+1 > > > >>b) Should it be in ant 1.6.2 >> >> >+1 > > > >>c) Could someone run the unittests on windows please ;-) >> >> >Windows 2000 SP 2 >Java build 1.4.2_03-b02 > >[junit] Testcase: testDuplicateTargets(org.apache.tools.ant.ProjectTest): >FAILED > --> as discussed earlier > > >[junit] Testcase: >testReplaceStrings(org.apache.tools.ant.filters.TokenFilterTest): FAILED >[junit] expecting log to contain "bar bar bar" log was " bar foo foo >" >[junit] junit.framework.AssertionFailedError: expecting log to contain "bar >bar bar" log was " bar foo foo " >[junit] at junit.framework.Assert.fail(Assert.java:47) >[junit] at junit.framework.Assert.assertTrue(Assert.java:20) >[junit] at >org.apache.tools.ant.BuildFileTest.assertLogContaining(BuildFileTest.java:81 >) >[junit] at >org.apache.tools.ant.BuildFileTest.expectLogContaining(BuildFileTest.java:92 >) >[junit] at >org.apache.tools.ant.filters.TokenFilterTest.testReplaceStrings(TokenFilterT >est.java:86) > --> ??? > > >[junit] Testcase: >testFilterReplaceStrings(org.apache.tools.ant.filters.TokenFilterTest): >FAILED >[junit] expecting log to contain "bar bar bar" log was " bar foo foo >" >[junit] junit.framework.AssertionFailedError: expecting log to contain "bar >bar bar" log was " bar foo foo " >[junit] at junit.framework.Assert.fail(Assert.java:47) >[junit] at junit.framework.Assert.assertTrue(Assert.java:20) >[junit] at >org.apache.tools.ant.BuildFileTest.assertLogContaining(BuildFileTest.java:81 >) >[junit] at >org.apache.tools.ant.BuildFileTest.expectLogContaining(BuildFileTest.java:92 >) >[junit] at >org.apache.tools.ant.filters.TokenFilterTest.testFilterReplaceStrings(TokenF >ilterTest.java:147) > > >[junit] Testcase: testEscape(org.apache.tools.ant.taskdefs.MacroDefTest): >FAILED >[junit] expected:<...b is avalue@bvalue> but was:<...@b is avalue@@@{b}> >[junit] junit.framework.ComparisonFailure: expected:<...b is avalue@bvalue> >but was:<...@b is avalue@@@{b}> >[junit] at junit.framework.Assert.assertEquals(Assert.java:81) >[junit] at junit.framework.Assert.assertEquals(Assert.java:87) >[junit] at >org.apache.tools.ant.BuildFileTest.expectLog(BuildFileTest.java:72) >[junit] at >org.apache.tools.ant.taskdefs.MacroDefTest.testEscape(MacroDefTest.java:103) > > > >[junit] Testcase: >testAttributeDescription(org.apache.tools.ant.taskdefs.MacroDefTest): >Caused an ERROR >[junit] required attribute description not set >[junit] >C:\seu\cvs-downloads\ant\ant\src\etc\testcases\taskdefs\macrodef.xml:168: >required attribute description not set >[junit] at >org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:302) >[junit] at >org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) >[junit] at org.apache.tools.ant.Task.perform(Task.java:364) >[junit] at org.apache.tools.ant.Target.execute(Target.java:301) >[junit] at org.apache.tools.ant.Target.performTasks(Target.java:328) >[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1215) >[junit] at >org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:232) >[junit] at >org.apache.tools.ant.BuildFileTest.expectLog(BuildFileTest.java:70) >[junit] at >org.apache.tools.ant.taskdefs.MacroDefTest.testAttributeDescription(MacroDef >Test.java:108) > > >[junit] Testcase: testNested(org.apache.tools.ant.types.FileListTest): >Caused an ERROR >[junit] The type doesn't support the nested "file" element. >[junit] >C:\seu\cvs-downloads\ant\ant\src\etc\testcases\types\filelist.xml:26: The > type doesn't support the nested "file" element. >[junit] at >org.apache.tools.ant.IntrospectionHelper.throwNotSupported(IntrospectionHelp >er.java:573) >[junit] at >org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:328) >[junit] at >org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:176) >[junit] at >org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:152) >[junit] at org.apache.tools.ant.Task.perform(Task.java:363) >[junit] at org.apache.tools.ant.Target.execute(Target.java:301) >[junit] at org.apache.tools.ant.Target.performTasks(Target.java:328) >[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1215) >[junit] at >org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:232) >[junit] at >org.apache.tools.ant.BuildFileTest.expectLog(BuildFileTest.java:70) >[junit] at >org.apache.tools.ant.types.FileListTest.testNested(FileListTest.java:150) > > >Maybe something is not uptodate on my local machine. >I�ll do an (cvsgrab) update... > > > > > > >>>The org.apache.tools.ant.ProjectTest.testDuplicateTargets fails >>>however :-( (both on linux (fedora core) and XP / both sun jdk 1.4.2_03) >>> >>> >>I think that this should be added to the "teststhatfail" reference in >>build.xml until the fix for the problem is done. >> >> > >Always learning new things :) >Didn�t know that there is such a section ... have to have a deeper look at >Ants buildfile. > >This would also solve the Gump-Messages. > > >Ant: build.xml > 329: > 330: > 331: > 332: > ... >1414: 1426: 1440: >1441: >1468: >1469: > > > > >Jan > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org