summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2017-01-11 22:08:54 +0100
committerStefan Bodewig <bodewig@apache.org>2017-01-11 22:08:54 +0100
commitbe4c1c5ad04c8d35d2a04bbd82b78c84495a04d5 (patch)
tree5a8113fc8d403765fa6cb06996a05881a640dbfb
parentd7fd05639452f35b4adacecabcb0c9ff29ea17e8 (diff)
downloadant-be4c1c5ad04c8d35d2a04bbd82b78c84495a04d5.tar.gz
only execute test if XZ for Java is present
-rw-r--r--src/tests/antunit/types/optional/xz/xzresource-test.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/antunit/types/optional/xz/xzresource-test.xml b/src/tests/antunit/types/optional/xz/xzresource-test.xml
index 20855d617..56fe66d18 100644
--- a/src/tests/antunit/types/optional/xz/xzresource-test.xml
+++ b/src/tests/antunit/types/optional/xz/xzresource-test.xml
@@ -24,7 +24,7 @@
<available property="xz.present" classname="org.tukaani.xz.XZOutputStream"/>
</target>
- <target name="testDocumentationClaimsOnCopy">
+ <target name="testDocumentationClaimsOnCopy" if="xz.present">
<copy todir="${output}">
<xzresource>
<file file="../../../../../etc/testcases/taskdefs/expected/asf-logo.gif.xz"/>