Commit 49db714c authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Minor changes.

parent dc15929c
<?xml version="1.0"?>
<!DOCTYPE project [
<!ENTITY common SYSTEM "../common.xml">
]>
<project default="jms.test" basedir=".">
<!-- Includes generic stuff -->
&common;
<target name="init.src">
<!-- Tests specific sources set -->
<patternset id="specific">
<include name="jms/**/*.java" />
</patternset>
</target>
<target name="init.test" depends="compile">
<delete dir="${test.dir}" />
<mkdir dir="${test.dir}" />
<copy file="providers/admin/a3servers.xml"
tofile="${test.dir}/a3servers.xml" />
<copy file="providers/admin/a3debug.cfg"
tofile="${test.dir}/a3debug.cfg" />
<copy file="providers/admin/test.properties"
tofile="${test.dir}/test.properties" />
<copy file="providers/admin/provider.properties"
tofile="${test.dir}/provider.properties" />
<copy file="config.properties" todir="${test.dir}"/>
<property name="bundle.dir" location="${ship.dir}/bundle" />
<replace file="${test.dir}/config.properties" token="@BUNDLE_DIR@" value="${bundle.dir}" />
<replace file="${test.dir}/config.properties" token="\" value="/" />
</target>
<!-- jms test -->
<target name="jms.test" depends="init.test"
description=" --> test jms conformance.">
<antcall target="test.run" inheritAll="true">
<param name="className" value="jms.main.Tests" />
</antcall>
</target>
<target name="jms.test.osgi"
description=" --> launch all jms tests">
<property name="SCAdminClass" value="framework.SCAdminOSGi"/>
<antcall target="jms.test"/>
</target>
<!-- end jms test -->
<target name="test.run">
<property name="a3debug" value="a3debug.cfg" />
<!-- antcall target="init.test.joram" inheritAll="true" / -->
<java classname="${className}" failonerror="no" fork="yes"
maxmemory="256m" dir="${test.dir}">
<classpath path="${project.class.path}" />
<jvmarg line="-DSCAdminClass=${SCAdminClass} -Dfelix.dir=${felix.dir} -Dfelix.config.properties=file:config.properties -Dcom.sun.management.jmxremote -Dframework.TestCase.TestId=0 -Dframework.TestCase.OutFile=${report.file} ${jvmargs}" />
<!-- jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y"/ -->
<arg line="${arg}" />
</java>
</target>
</project>
<?xml version="1.0"?>
<!DOCTYPE project [
<!ENTITY common SYSTEM "../common.xml">
]>
<project default="tests.all" basedir=".">
<!-- Includes generic stuff -->
&common;
<target name="init.src">
<!-- Tests specific sources set -->
<patternset id="specific">
<include name="jms/**/*.java" />
</patternset>
</target>
<target name="init.test" depends="compile">
<delete dir="${test.dir}" />
<mkdir dir="${test.dir}" />
<copy file="providers/admin/a3servers.xml"
tofile="${test.dir}/a3servers.xml" />
<copy file="providers/admin/a3debug.cfg"
tofile="${test.dir}/a3debug.cfg" />
<copy file="providers/admin/test.properties"
tofile="${test.dir}/test.properties" />
<copy file="providers/admin/provider.properties"
tofile="${test.dir}/provider.properties" />
<copy file="config.properties" todir="${test.dir}"/>
<property name="bundle.dir" location="${ship.dir}/bundle" />
<replace file="${test.dir}/config.properties" token="@BUNDLE_DIR@" value="${bundle.dir}" />
<replace file="${test.dir}/config.properties" token="\" value="/" />
</target>
<!-- jms test -->
<target name="tests.all" depends="init.test"
description=" --> test jms conformance.">
<antcall target="test.run" inheritAll="true">
<param name="className" value="jms.main.Tests" />
</antcall>
</target>
<target name="jms.test.osgi"
description=" --> launch all jms tests">
<property name="SCAdminClass" value="framework.SCAdminOSGi"/>
<antcall target="jms.test"/>
</target>
<!-- end jms test -->
<target name="test.run">
<property name="a3debug" value="a3debug.cfg" />
<!-- antcall target="init.test.joram" inheritAll="true" / -->
<java classname="${className}" failonerror="no" fork="yes"
maxmemory="256m" dir="${test.dir}">
<classpath path="${project.class.path}" />
<jvmarg line="-DSCAdminClass=${SCAdminClass} -Dfelix.dir=${felix.dir} -Dfelix.config.properties=file:config.properties -Dcom.sun.management.jmxremote -Dframework.TestCase.TestId=0 -Dframework.TestCase.OutFile=${report.file} ${jvmargs}" />
<!-- jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y"/ -->
<arg line="${arg}" />
</java>
</target>
</project>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment