Browse Source

Complement includeTests with excludeTests

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278313 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
0a9fc364a4
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      build.xml

+ 3
- 1
build.xml View File

@@ -1543,6 +1543,7 @@
</condition>

<property name="includetests" value="**/*Test*" />
<property name="excludetests" value="" />

<junit printsummary="${junit.summary}" haltonfailure="${test.haltonfailure}"
filtertrace="${junit.filtertrace}"
@@ -1563,7 +1564,8 @@
<formatter type="brief" usefile="false"/>

<batchtest>
<fileset dir="${tests.dir}" includes="${includetests}">
<fileset dir="${tests.dir}"
includes="${includetests}" excludes="${excludetests}">

<!-- abstract classes, not testcases -->
<exclude name="${taskdefs.package}/TaskdefsTest.java"/>


Loading…
Cancel
Save