qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject svn commit: r1367989 - /qpid/trunk/qpid/java/module.xml
Date Wed, 01 Aug 2012 13:44:15 GMT
Author: kwall
Date: Wed Aug  1 13:44:15 2012
New Revision: 1367989

URL: http://svn.apache.org/viewvc?rev=1367989&view=rev
Log:
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>

Modified:
    qpid/trunk/qpid/java/module.xml

Modified: qpid/trunk/qpid/java/module.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/module.xml?rev=1367989&r1=1367988&r2=1367989&view=diff
==============================================================================
--- qpid/trunk/qpid/java/module.xml (original)
+++ qpid/trunk/qpid/java/module.xml Wed Aug  1 13:44:15 2012
@@ -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}"



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message