]> source.dussan.org Git - poi.git/commitdiff
Add a way to exclude tests via Ant-properties, needed to check if ooxml-tests run...
authorDominik Stadler <centic@apache.org>
Mon, 7 Nov 2016 21:32:22 +0000 (21:32 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 7 Nov 2016 21:32:22 +0000 (21:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768591 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 531ce6a3097dc1d86a6c2123239aa5a1936ec1f8..23e2ef2933cb3b79467823f31ba85706ed6a009f 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -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>