Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 47020 invoked from network); 15 Feb 2007 12:03:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 12:03:53 -0000 Received: (qmail 62094 invoked by uid 500); 15 Feb 2007 12:03:59 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 61794 invoked by uid 500); 15 Feb 2007 12:03:58 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 61785 invoked by uid 99); 15 Feb 2007 12:03:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 04:03:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alexey.v.varlamov@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 04:03:47 -0800 Received: by ug-out-1314.google.com with SMTP id z36so108274uge for ; Thu, 15 Feb 2007 04:03:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h8Vpc5x+Y5EGn5xb2WoIV6BUFabsRpPzVu6w9stbEZYF3xMQyPxzZ4heRYNgotAfzggl3gqFBr6NMra4gwDKuHBKZqQcK8JS2QWzKkYOBz0PAFJS8+EdbSIC50rkswSeE4sf0YJEeHl50aU3T52NzBBa0vXovs89RKwUEiL+APA= Received: by 10.115.89.1 with SMTP id r1mr893689wal.1171541005389; Thu, 15 Feb 2007 04:03:25 -0800 (PST) Received: by 10.114.160.13 with HTTP; Thu, 15 Feb 2007 04:03:25 -0800 (PST) Message-ID: Date: Thu, 15 Feb 2007 18:03:25 +0600 From: "Alexey Varlamov" To: dev@harmony.apache.org Subject: Re: [testing][classlib] correct run of one test case In-Reply-To: <7273946b0702150300h4621fe32x4d0aaf7455a52d5e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7273946b0702150256n4c723c7by11c387ca1e833e56@mail.gmail.com> <7273946b0702150300h4621fe32x4d0aaf7455a52d5e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org This is also applicable to api vs injected tests, the worst case is security module which has all 4 types. I'd prefer this to be fixed. E.g. via adding extra step to detect if the specified test really belongs to a suite and skipping the run otherwise. Yet not sure what to do if no such test ever ;) -- Alexey 2007/2/15, Vladimir Ivanov : > I forgot to add test run example: > >build.bat -Dbuild.module=lang-management > -Dtest.case=org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest > test > > run-tests-api: > [mkdir] Created dir: C:\harmony.top\classlib\trunk\build\test_report > [junit] Running > org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec > [junit] Test > org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest > FAILED > > touch-failures-file: > > touch-errors-file: > > run-tests-impl: > [junit] Running > org.apache.harmony.lang.management.OperatingSystemMXBeanImplTest > [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.15 sec > > thanks, Vladimir > > On 2/15/07, Vladimir Ivanov wrote: > > Hello everybody, > > > > when I ran separated TestCase'es I met a small issue: in the case when > > we have 'api' and 'impl' tests, for example in the lang-management > > module, any test always failed in one run due to 'NoClassDefFound'. > > > > Is it OK to add some elements to classpath or should we change a run a > > little bit or is it expected behavior? > > > > thanks, Vladimir > > >