incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r881243 - in /incubator/kato/trunk/org.apache.kato/kato.tck: pom.xml src/test/ant/ src/test/ant/tck.xml target/
Date Tue, 17 Nov 2009 11:07:35 GMT
Author: spoole
Date: Tue Nov 17 11:07:34 2009
New Revision: 881243

URL: http://svn.apache.org/viewvc?rev=881243&view=rev
Log:
added new tck module to be tck runner

Added:
    incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/
    incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml
Modified:
    incubator/kato/trunk/org.apache.kato/kato.tck/pom.xml
    incubator/kato/trunk/org.apache.kato/kato.tck/target/   (props changed)

Modified: incubator/kato/trunk/org.apache.kato/kato.tck/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck/pom.xml?rev=881243&r1=881242&r2=881243&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck/pom.xml Tue Nov 17 11:07:34 2009
@@ -8,4 +8,122 @@
   <groupId>org.apache.kato</groupId>
   <artifactId>kato.tck</artifactId>
   <version>M1-incubating</version>
+  <profiles>
+    <profile>
+      <id>windows x86</id>
+      	<activation>
+				<os>
+					<family>windows</family>
+					<arch>x86</arch>
+				</os>
+			</activation>
+      <properties>
+        <cjvmti.groupid>org.apache.kato.native</cjvmti.groupid>
+    	<cjvmti.artifact>libcjvmti-linux-x86</cjvmti.artifact>
+    	<cjvmti.version>M1-incubating</cjvmti.version>
+    	<cjvmti.type>so</cjvmti.type>
+    	
+    	<vmapi.groupid>org.apache.kato.native</vmapi.groupid>
+    	<vmapi.artifact>libkatovmapi-linux-x86</vmapi.artifact>
+    	<vmapi.version>M1-incubating</vmapi.version>
+    	<vmapi.type>so</vmapi.type>
+    	 
+    </properties>
+    </profile>
+
+    <profile>
+      <id>linux-x86</id>
+			<activation>
+				<os>
+					<family>Linux</family>
+					<arch>i386</arch>
+				</os>
+			</activation>
+    <properties>
+        <cjvmti.groupid>org.apache.kato.native</cjvmti.groupid>
+    	<cjvmti.artifact>libcjvmti-linux-x86</cjvmti.artifact>
+    	<cjvmti.version>M1-incubating</cjvmti.version>
+    	<cjvmti.type>so</cjvmti.type>
+    	<vmapi.groupid>org.apache.kato.native</vmapi.groupid>
+    	<vmapi.artifact>libkatovmapi-linux-x86</vmapi.artifact>
+    	<vmapi.version>M1-incubating</vmapi.version>
+    	<vmapi.type>so</vmapi.type>
+    </properties>
+    </profile>
+  </profiles>
+    
+    
+	<dependencies>
+					<dependency>
+						<groupId>org.apache.kato</groupId>
+						<artifactId>kato.anttasks</artifactId>
+						<version>M1-incubating</version>
+						<scope>test</scope>
+					</dependency>
+					
+					<dependency>
+						<groupId>org.apache.kato</groupId>
+						<artifactId>kato.tck.harness</artifactId>
+						<version>M1-incubating</version>
+						<scope>test</scope>
+					</dependency>
+					<dependency>
+						<groupId>org.apache.kato</groupId>
+						<artifactId>kato.tck.testsuite.scenario.142</artifactId>
+						<version>M1-incubating</version>
+						<scope>test</scope>
+					</dependency>
+					
+					<dependency>
+						<groupId>org.apache.kato</groupId>
+						<artifactId>kato.common.142</artifactId>
+						<version>M1-incubating</version>
+						<scope>test</scope>
+					</dependency>
+					
+					
+	</dependencies>
+	
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.6</source>
+					<target>1.6</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<version>1.3</version>
+				<executions>
+					<execution>
+						<id>compile</id>
+						<phase>test</phase>
+						<configuration>
+							<tasks>
+								<ant antfile="tck.xml" dir="src/test/ant">
+									<property name="path" refid="maven.test.classpath" />
+									<property name="cjvmti.agent.path" value="${settings.localRepository}/org/apache/kato/native/${cjvmti.artifact}/${cjvmti.version}/${cjvmti.artifact}-${cjvmti.version}.${cjvmti.type}"/>
+								</ant>
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+				</executions>
+				<dependencies>
+					<dependency>
+						<groupId>ant</groupId>
+						<artifactId>ant-trax</artifactId>
+						<version>1.6.5</version>
+					</dependency>
+					
+				</dependencies>
+			</plugin>
+		</plugins>
+	</build>
 </project>
\ No newline at end of file

Added: incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml?rev=881243&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml (added)
+++ incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml Tue Nov 17 11:07:34
2009
@@ -0,0 +1,22 @@
+<project default="test">
+	
+	<taskdef resource="org/apache/kato/anttasks/anttasks.properties">
+			<classpath path="${path}" />
+		</taskdef>
+	<target name="test">
+		
+		<!-- determine the dump type available -->
+		<!-- look for the cjvmti library -->
+		
+		<echo>${parent}</echo>
+		<echo>${repo}</echo>
+		<!-- determine the java level -->
+		
+		<tcksetup>
+			<classpath path="${path}" />
+			<scenario name="142"/>
+			<jvmarg value="-agentpath:${cjvmti.agent.path}"/>
+		</tcksetup>
+		
+	</target>
+</project>
\ No newline at end of file

Propchange: incubator/kato/trunk/org.apache.kato/kato.tck/target/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Nov 17 11:07:34 2009
@@ -0,0 +1,4 @@
+kato.tck-M1-incubating.jar
+classes
+test-classes
+maven-archiver



Mime
View raw message