summaryrefslogtreecommitdiff
path: root/java/module.xml
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2012-08-01 13:44:15 +0000
committerKeith Wall <kwall@apache.org>2012-08-01 13:44:15 +0000
commitf736c893c4a93fa4251f2fc9fdbecdea9ec45b4f (patch)
tree9a622ce0ea088057e17a71b983e8f71d30401340 /java/module.xml
parent5695dcfecddeabc688fee97874b34b2708d26230 (diff)
downloadqpid-python-f736c893c4a93fa4251f2fc9fdbecdea9ec45b4f.tar.gz
QPID-4152: added condition to cover-test target so it only runs if units tests exist. Was previously choking trying to run amqp-1-0-common tests, because junit.jar wasn't on classpath.
Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1367989 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/module.xml')
-rw-r--r--java/module.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/module.xml b/java/module.xml
index 203f08e151..af77d84e86 100644
--- a/java/module.xml
+++ b/java/module.xml
@@ -678,7 +678,7 @@
</cobertura-instrument>
</target>
- <target name="cover-test" depends="instrument">
+ <target name="cover-test" depends="instrument" if="module.test.src.exists">
<junit fork="yes" forkmode="once" maxmemory="${test.mem}" reloading="no"
haltonfailure="${haltonfailure}" haltonerror="${haltonerror}"