summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorJaikiran Pai <jaikiran@apache.org>2018-08-14 17:50:50 +0530
committerJaikiran Pai <jaikiran@apache.org>2018-08-14 17:50:50 +0530
commit27aa22a82a216d133aa1b635631825f520bc165c (patch)
treebec5cd834bb4ca6398f2c0410126ba676f35e083 /build.xml
parent00d4ba8b99544dbcb4941a8cd9eb893711bd5e2d (diff)
downloadant-27aa22a82a216d133aa1b635631825f520bc165c.tar.gz
bz-62621 conditionally enable EmailTaskTest
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index ecc0774b6..cbe6c32f6 100644
--- a/build.xml
+++ b/build.xml
@@ -1815,6 +1815,10 @@ ${antunit.reports}
<exclude name="${optional.package}/JspcTest.java"
unless="jasper.present"/>
+ <!-- needs JavaMail -->
+ <exclude name="${taskdefs.package}/email/EmailTaskTest.java"
+ unless="javamail.complete"/>
+
<!-- These tests only passes if testcases and Ant classes have
been loaded by the same classloader - will throw
IllegalAccessExceptions otherwise. -->