You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2016/11/07 21:32:22 UTC

svn commit: r1768591 - /poi/trunk/build.xml

Author: centic
Date: Mon Nov  7 21:32:22 2016
New Revision: 1768591

URL: http://svn.apache.org/viewvc?rev=1768591&view=rev
Log:
Add a way to exclude tests via Ant-properties, needed to check if ooxml-tests run without scratchpad (except TestExtractorFactory)

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1768591&r1=1768590&r2=1768591&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Mon Nov  7 21:32:22 2016
@@ -1263,6 +1263,7 @@ under the License.
                         <exclude name="**/All*Tests.java"/>
                         <exclude name="**/TestUnfixedBugs.java"/>
                         <exclude name="**/TestcaseRecordInputStream.java"/>
+                        <exclude name="**/${testexcludepattern}.java"/>
                     </fileset>
                 </batchtest>
             </junit>
@@ -1324,6 +1325,7 @@ under the License.
                         <exclude name="**/All*Tests.java"/>
                         <exclude name="**/TestUnfixedBugs.java"/>
                         <exclude name="**/TestcaseRecordInputStream.java"/>
+                        <exclude name="**/${testexcludepattern}.java"/>
                     </fileset>
                 </batchtest>
             </junit>
@@ -1368,6 +1370,7 @@ under the License.
                     <fileset dir="${scratchpad.src.test}">
                         <include name="**/${testpattern}.java"/>
                         <exclude name="**/AllTests.java"/>
+                        <exclude name="**/${testexcludepattern}.java"/>
                     </fileset>
                 </batchtest>
             </junit>
@@ -1410,7 +1413,8 @@ under the License.
                           <include name="**/${testpattern}.java"/>
                           <exclude name="**/TestUnfixedBugs.java"/>
                           <exclude name="**/All*Tests.java"/>
-                            <exclude name="**/TestSignatureInfo.java"/>
+                          <exclude name="**/TestSignatureInfo.java"/>
+                          <exclude name="**/${testexcludepattern}.java"/>
                       </fileset>
                   </batchtest>
               </junit>
@@ -1481,6 +1485,7 @@ under the License.
                           <include name="**/org/apache/poi/xssf/**/${testpattern}.java"/>
                           <exclude name="**/TestUnfixedBugs.java"/>
                           <exclude name="**/All*Tests.java"/>
+                          <exclude name="**/${testexcludepattern}.java"/>
                       </fileset>
                   </batchtest>
               </junit>
@@ -1525,6 +1530,7 @@ under the License.
                 <batchtest todir="${integration.reports.test}">
                     <fileset dir="${integration.src.test}">
                         <include name="**/${testpattern}.java"/>
+                        <exclude name="**/${testexcludepattern}.java"/>
                     </fileset>
                 </batchtest>
             </junit>
@@ -1616,6 +1622,7 @@ under the License.
                 <batchtest todir="${excelant.reports.test}">
                     <fileset dir="${excelant.src.test}">
                         <include name="**/${testpattern}.java"/>
+                        <exclude name="**/${testexcludepattern}.java"/>
                     </fileset>
                 </batchtest>
             </junit>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org