Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D689DCE0 for ; Sat, 25 Aug 2012 21:57:12 +0000 (UTC) Received: (qmail 28260 invoked by uid 500); 25 Aug 2012 21:57:12 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 28224 invoked by uid 500); 25 Aug 2012 21:57:12 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 28214 invoked by uid 99); 25 Aug 2012 21:57:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Aug 2012 21:57:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Aug 2012 21:57:11 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2B1D12388994 for ; Sat, 25 Aug 2012 21:56:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1377359 - in /hive/trunk: build-common.xml build.properties common/build.xml Date: Sat, 25 Aug 2012 21:56:28 -0000 To: commits@hive.apache.org From: cws@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120825215628.2B1D12388994@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cws Date: Sat Aug 25 21:56:27 2012 New Revision: 1377359 URL: http://svn.apache.org/viewvc?rev=1377359&view=rev Log: HIVE-3345. Add junit exclude utility to disable testcases (Zhenxiao Luo via cws) Modified: hive/trunk/build-common.xml hive/trunk/build.properties hive/trunk/common/build.xml Modified: hive/trunk/build-common.xml URL: http://svn.apache.org/viewvc/hive/trunk/build-common.xml?rev=1377359&r1=1377358&r2=1377359&view=diff ============================================================================== --- hive/trunk/build-common.xml (original) +++ hive/trunk/build-common.xml Sat Aug 25 21:56:27 2012 @@ -440,7 +440,7 @@ + excludes="**/TestSerDe.class,**/TestHiveMetaStore.class,**/*$*.class,${test.junit.exclude}" /> Modified: hive/trunk/build.properties URL: http://svn.apache.org/viewvc/hive/trunk/build.properties?rev=1377359&r1=1377358&r2=1377359&view=diff ============================================================================== --- hive/trunk/build.properties (original) +++ hive/trunk/build.properties Sat Aug 25 21:56:27 2012 @@ -70,6 +70,15 @@ jsp.test.jar=${hadoop.root}/lib/jetty-ex common.jar=${hadoop.root}/lib/commons-httpclient-3.0.1.jar # +# Test Properties +# + +# Use this property to selectively disable tests from the command line: +# ant test -Dtest.junit.exclude="**/TestCliDriver.class" +# ant test -Dtest.junit.exclude="**/Test*CliDriver.class,**/TestPartitions.class" +test.junit.exclude= + +# # Ivy Properties # build.ivy.dir=${build.dir.hive}/ivy Modified: hive/trunk/common/build.xml URL: http://svn.apache.org/viewvc/hive/trunk/common/build.xml?rev=1377359&r1=1377358&r2=1377359&view=diff ============================================================================== --- hive/trunk/common/build.xml (original) +++ hive/trunk/common/build.xml Sat Aug 25 21:56:27 2012 @@ -58,7 +58,7 @@ to call at top-level: ant deploy-contrib + excludes="**/*$*.class,${test.junit.exclude}" />