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 ED8239C0E for ; Fri, 24 Feb 2012 15:31:08 +0000 (UTC) Received: (qmail 38597 invoked by uid 500); 24 Feb 2012 15:31:08 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 38523 invoked by uid 500); 24 Feb 2012 15:31:08 -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 38510 invoked by uid 99); 24 Feb 2012 15:31:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 15:31:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-ant-dev@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 15:31:00 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S0x6Q-00066o-KV for dev@ant.apache.org; Fri, 24 Feb 2012 16:30:34 +0100 Received: from c-174-62-212-174.hsd1.ma.comcast.net ([174.62.212.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Feb 2012 16:30:34 +0100 Received: from jesse.glick by c-174-62-212-174.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Feb 2012 16:30:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@ant.apache.org From: Jesse Glick Subject: Re: AntUnit test failures Date: Fri, 24 Feb 2012 10:30:13 -0500 Organization: Oracle Corp. / NetBeans Lines: 27 Message-ID: References: <871upkbyr6.fsf@v35516.1blu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-174-62-212-174.hsd1.ma.comcast.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: <871upkbyr6.fsf@v35516.1blu.de> X-Virus-Checked: Checked by ClamAV on apache.org On 02/24/2012 12:12 AM, Stefan Bodewig wrote: > It is supposed to be used via ./build.sh antunit-tests. Ah. But when I do that, I get failures that I do not get when I use ./dist/bin/ant -lib lib/optional antunit-tests, e.g.: Build File: .../src/tests/antunit/bugfixes/br50866/br50866-test.xml Tests run: 1, Failures: 0, Errors: 2, Time elapsed: 0.055 sec Target: testinclude caused an ERROR Message: Target "middle.common" does not exist in the project "br50866". It is used from target "testinclude". took 0.005 sec caused an ERROR Message: Target "middle.common" does not exist in the project "br50866". It is used from target "testinclude". Build File: .../src/tests/antunit/bugfixes/bugzilla-43324-stackoverflow-test.xml Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.033 sec Target: testnested took 0.003 sec caused an ERROR at line 38, column 29 Message: Unable to delete directory /tmp/testinput/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base BTW this script also fails when run from another dir - which is a useful thing to do sometimes, as it finds things which rely on the CWD (as I did yesterday). > I'm not sure > how build.xml could detect you were not using the current trunk version > of Ant or some older build with the same version. I think it can and will try to fix it to do so in the trunk. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org