diff --git build-common.xml build-common.xml index 5ffd960..cb95724 100644 --- build-common.xml +++ build-common.xml @@ -434,7 +434,7 @@ + excludes="**/TestSerDe.class,**/TestHiveMetaStore.class,**/*$*.class,${test.junit.exclude}" /> diff --git build.properties build.properties index de9432e..d2cb0b2 100644 --- build.properties +++ build.properties @@ -70,6 +70,15 @@ jsp.test.jar=${hadoop.root}/lib/jetty-ext/jsp-api.jar 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 diff --git common/build.xml common/build.xml index 0d0665f..2712c03 100755 --- common/build.xml +++ common/build.xml @@ -58,7 +58,7 @@ to call at top-level: ant deploy-contrib compile-core-test + excludes="**/*$*.class,${test.junit.exclude}" />