You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by ja...@apache.org on 2012/08/10 14:42:24 UTC
svn commit: r1371690 - /ace/sandbox/marrs/cnf/build.xml
Author: jawi
Date: Fri Aug 10 12:42:24 2012
New Revision: 1371690
URL: http://svn.apache.org/viewvc?rev=1371690&view=rev
Log:
Only run integration tests for projects ending with '.itest'
Modified:
ace/sandbox/marrs/cnf/build.xml
Modified: ace/sandbox/marrs/cnf/build.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/build.xml?rev=1371690&r1=1371689&r2=1371690&view=diff
==============================================================================
--- ace/sandbox/marrs/cnf/build.xml (original)
+++ ace/sandbox/marrs/cnf/build.xml Fri Aug 10 12:42:24 2012
@@ -39,6 +39,11 @@
<fileset dir="${project}/test" erroronmissingdir="false" />
</length>
</condition>
+
+ <!-- Is this project an itest? -->
+ <condition property="project.itest">
+ <matches string="${project}" pattern="\.itest$" />
+ </condition>
</target>
<!--
@@ -61,10 +66,7 @@
</subant>
</target>
- <target name="test" depends="compile">
- <!-- XXX this is a workaround for the fact that Bnd doesn't inherit the runvm option -->
- <property name="org.osgi.service.http.port" value="9000" />
-
+ <target name="test" depends="compile" if="project.itest">
<bnd command="test" exceptions="true" basedir="${project}" />
</target>