Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 64671 invoked from network); 2 Nov 2004 17:19:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 17:19:53 -0000 Received: (qmail 27938 invoked by uid 500); 2 Nov 2004 17:19:52 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 27900 invoked by uid 500); 2 Nov 2004 17:19:52 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 27886 invoked by uid 99); 2 Nov 2004 17:19:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [202.187.40.2] (HELO f2.hedhman.org) (202.187.40.2) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 09:19:51 -0800 Received: from f2.hedhman.org (f2.hedhman.org [127.0.0.1]) by f2.hedhman.org (8.12.8/8.12.8) with ESMTP id iA2HJkoi009358 for ; Wed, 3 Nov 2004 01:19:47 +0800 From: Niclas Hedhman Organization: Private To: "Gump code and data" Subject: Re: Seeing results of Maven unit tests? Date: Wed, 3 Nov 2004 01:19:45 +0800 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411030119.45835.niclas@hedhman.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wednesday 03 November 2004 01:08, Eric Pugh wrote: > I've seen this error periodically, and to be honest, I don't like this > test.. I don't really want to run it except on demand.. Is there any > environment variable that tells me I am running in Gump that I can get? > Anything like: > > if (System.getProperty("gump")==true) > ignore test... Would setting the "goal" attribute in the element to something like "jar" work?? I think that you can also tell Maven not to report testcase failures as errors with a property. Then the question is if that property can be fed through the Maven element, and I think so. Cheers Niclas -- +------//-------------------+ / http://www.bali.ac / / http://niclas.hedhman.org / +------//-------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@gump.apache.org For additional commands, e-mail: general-help@gump.apache.org