summaryrefslogtreecommitdiff
path: root/java
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
commit384de2130f9a3ad48fcf5083c284e822a45d396c (patch)
tree9a622ce0ea088057e17a71b983e8f71d30401340 /java
parentbc0fef053624d57d04698038a22e5cee87cedf6a (diff)
downloadqpid-python-384de2130f9a3ad48fcf5083c284e822a45d396c.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')
-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}"