diff options
author | Keith Wall <kwall@apache.org> | 2012-08-01 13:44:15 +0000 |
---|---|---|
committer | Keith Wall <kwall@apache.org> | 2012-08-01 13:44:15 +0000 |
commit | 9142bdd35482a85ea3b1f28ecf4910eef9f6bcc1 (patch) | |
tree | b222e295de92b6e222c77214a77d86bf4a57b3dd | |
parent | c80079325ee7208463179c48e0a3ae815c2320e6 (diff) | |
download | qpid-python-9142bdd35482a85ea3b1f28ecf4910eef9f6bcc1.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@1367989 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/module.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml index 203f08e151..af77d84e86 100644 --- a/qpid/java/module.xml +++ b/qpid/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}" |