mirror of https://github.com/apache/activemq.git
73 lines
2.4 KiB
XML
Executable File
73 lines
2.4 KiB
XML
Executable File
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<project default="testall" xmlns:j="jelly:core">
|
|
|
|
<goal name="testall" prereqs="setclasspath"
|
|
description="Runs all the compliance scripts">
|
|
|
|
<mkdir dir="report"/>
|
|
<java classname="org.exolab.jmscts.test.ComplianceTestSuite" fork="yes" maxmemory="512M">
|
|
<classpath refid="test.classpath"/>
|
|
<jvmarg value="-server"/>
|
|
<sysproperty key="jmscts.home" value="."/>
|
|
<j:if test="${!empty(url)}">
|
|
<sysproperty key="url" value="${url}"/>
|
|
</j:if>
|
|
</java>
|
|
</goal>
|
|
|
|
<goal name="stress" prereqs="setclasspath"
|
|
description="Runs the stress test">
|
|
|
|
<mkdir dir="report"/>
|
|
|
|
<java classname="org.exolab.jmscts.stress.StressTestSuite" fork="yes" maxmemory="512M">
|
|
<classpath refid="test.classpath"/>
|
|
<jvmarg value="-server"/>
|
|
<sysproperty key="jmscts.home" value="."/>
|
|
<j:if test="${!empty(url)}">
|
|
<sysproperty key="url" value="${url}"/>
|
|
</j:if>
|
|
</java>
|
|
</goal>
|
|
|
|
<goal name="snapshot" prereqs="setclasspath"
|
|
description="Gets a snapshot of the running tests">
|
|
|
|
<mkdir dir="report"/>
|
|
<java classname="org.exolab.jmscts.core.Admin" fork="yes" maxmemory="512M">
|
|
<classpath refid="test.classpath"/>
|
|
<jvmarg value="-server"/>
|
|
<sysproperty key="jmscts.home" value="."/>
|
|
<arg value="-snapshot"/>
|
|
<arg value="report"/>
|
|
</java>
|
|
|
|
</goal>
|
|
|
|
<goal name="setclasspath" prereqs="jar">
|
|
<path id="test.classpath">
|
|
<pathelement path="${maven.build.dest}"/>
|
|
<pathelement path="config"/>
|
|
<pathelement path="target/classes"/>
|
|
<path refid="maven.dependency.classpath"/>
|
|
</path>
|
|
</goal>
|
|
|
|
|
|
</project>
|