You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2014/11/03 18:58:02 UTC

svn commit: r1636408 - in /pig/branches/branch-0.14: CHANGES.txt build.xml test/tez-tests

Author: daijy
Date: Mon Nov  3 17:58:02 2014
New Revision: 1636408

URL: http://svn.apache.org/r1636408
Log:
PIG-4263: Move tez local mode unit tests to a separate target

Modified:
    pig/branches/branch-0.14/CHANGES.txt
    pig/branches/branch-0.14/build.xml
    pig/branches/branch-0.14/test/tez-tests

Modified: pig/branches/branch-0.14/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.14/CHANGES.txt?rev=1636408&r1=1636407&r2=1636408&view=diff
==============================================================================
--- pig/branches/branch-0.14/CHANGES.txt (original)
+++ pig/branches/branch-0.14/CHANGES.txt Mon Nov  3 17:58:02 2014
@@ -99,6 +99,8 @@ OPTIMIZATIONS
  
 BUG FIXES
 
+PIG-4263: Move tez local mode unit tests to a separate target (daijy)
+
 PIG-4257: Fix several e2e tests on secure cluster (daijy)
 
 PIG-4261: Skip shipping local resources in tez local mode (daijy)

Modified: pig/branches/branch-0.14/build.xml
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.14/build.xml?rev=1636408&r1=1636407&r2=1636408&view=diff
==============================================================================
--- pig/branches/branch-0.14/build.xml (original)
+++ pig/branches/branch-0.14/build.xml Mon Nov  3 17:58:02 2014
@@ -104,6 +104,7 @@
     <property name="test.smoke.file" value="${test.src.dir}/smoke-tests"/>
     <property name="test.all.file" value="${test.src.dir}/all-tests"/>
     <property name="test.tez.file" value="${test.src.dir}/tez-tests"/>
+    <property name="test.tez_local.file" value="${test.src.dir}/tez-local-tests"/>
     <property name="test.exclude.file" value="${test.src.dir}/excluded-tests"/>
     <property name="test.exclude.file.20" value="${test.src.dir}/excluded-tests-20"/>
     <property name="test.exclude.file.23" value="${test.src.dir}/excluded-tests-23"/>
@@ -890,6 +891,11 @@
         <fail if="test-tez.failed">Tests failed!</fail>
     </target>
 	
+    <target name="test-tez-local" depends="setTezEnv,setWindowsPath,setLinuxPath,compile-test,jar,debugger.check,jackson-pig-3039-test-download" description="Run tez local mode unit tests">
+        <macro-test-runner test.file="${test.tez_local.file}" tests.failed="test-tez.failed"/>
+        <fail if="test-tez.failed">Tests failed!</fail>
+    </target>
+
     <target name="debugger.check" depends="debugger.set,debugger.unset"/>
     <target name="debugger.set" if="debugPort">
         <property name="debugArgs" value="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${debugPort}"/>

Modified: pig/branches/branch-0.14/test/tez-tests
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.14/test/tez-tests?rev=1636408&r1=1636407&r2=1636408&view=diff
==============================================================================
--- pig/branches/branch-0.14/test/tez-tests (original)
+++ pig/branches/branch-0.14/test/tez-tests Mon Nov  3 17:58:02 2014
@@ -1,7 +1,3 @@
-**/TestAccumuloPigCluster.java
-**/TestBigTypeSort.java
-**/TestCurrentTime.java
-**/TestInvokerGenerator.java
 **/TestStreamingUDF.java
 **/TestAccumulator.java
 **/TestAlgebraicEval.java