Browse Source

Add 'run.failing.tests' support.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276179 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 21 years ago
parent
commit
d59c09c168
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      build.xml

+ 6
- 3
build.xml View File

@@ -327,8 +327,11 @@
</patternset>

<patternset id="teststhatfail">
<exclude name="${optional.package}/BeanShellScriptTest.java"/>
<exclude name="${optional.package}/jdepend/JDependTest.java"/>
<!-- Property 'run.failing.tests' should force Ant to run these tests. -->
<!-- Because the whole patternset can´t be excluded, you have to add -->
<!-- an unless-attribute on each exclude-element. -->
<exclude unless="run.failing.tests" name="${optional.package}/BeanShellScriptTest.java"/>
<exclude unless="run.failing.tests" name="${optional.package}/jdepend/JDependTest.java"/>
</patternset>

<!--
@@ -1604,4 +1607,4 @@
description="--> creates a minimum distribution in ./dist"
depends="dist-lite"/>

</project>
</project>

Loading…
Cancel
Save