Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 82092 invoked from network); 3 Jan 2006 20:59:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jan 2006 20:59:25 -0000 Received: (qmail 57550 invoked by uid 500); 3 Jan 2006 20:59:24 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 57519 invoked by uid 500); 3 Jan 2006 20:59:24 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 57501 invoked by uid 500); 3 Jan 2006 20:59:24 -0000 Delivered-To: apmail-db-ddlutils-commits@db.apache.org Received: (qmail 57493 invoked by uid 99); 3 Jan 2006 20:59:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 12:59:23 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Jan 2006 12:59:23 -0800 Received: (qmail 81921 invoked by uid 65534); 3 Jan 2006 20:59:03 -0000 Message-ID: <20060103205903.81920.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r365745 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java Date: Tue, 03 Jan 2006 20:59:02 -0000 To: ddlutils-commits@db.apache.org From: mvdb@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mvdb Date: Tue Jan 3 12:58:59 2006 New Revision: 365745 URL: http://svn.apache.org/viewcvs?rev=365745&view=rev Log: Fail if property is set, defaults to not failing. Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java?rev=365745&r1=365744&r2=365745&view=diff ============================================================================== --- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java (original) +++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java Tue Jan 3 12:58:59 2006 @@ -188,7 +188,11 @@ } else { - fail("Platform " + getPlatformName() + " does not match " + getPlatform().getName()); + // set this jvm property to true when you want failures when there is a platform mismatch. + if ("true".equals(System.getProperty("ddlutils.failcheckplatform"))) + { + fail("Platform " + getPlatformName() + " does not match " + getPlatform().getName()); + } } }