ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1371690 - /ace/sandbox/marrs/cnf/build.xml
Date Fri, 10 Aug 2012 12:42:24 GMT
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>
 



Mime
View raw message