[jboss-cvs] JBossAS SVN: r74100 - trunk/testsuite.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jun 4 09:27:28 EDT 2008
Author: adrian at jboss.org
Date: 2008-06-04 09:27:28 -0400 (Wed, 04 Jun 2008)
New Revision: 74100
Modified:
trunk/testsuite/build.xml
Log:
[JBAS-5582] - Make a start on a smoke tests
Modified: trunk/testsuite/build.xml
===================================================================
--- trunk/testsuite/build.xml 2008-06-04 12:54:18 UTC (rev 74099)
+++ trunk/testsuite/build.xml 2008-06-04 13:27:28 UTC (rev 74100)
@@ -976,6 +976,13 @@
<server:stop name="all"/>
</target>
+ <target name="smoke-tests"
+ description="A basic set of units tests which are run against the jboss all config" depends="init">
+ <server:start name="all"/>
+ <antcall target="smoke-tests-raw"/>
+ <server:stop name="all"/>
+ </target>
+
<target name="tests-profileservice" description="Tests with the full featured profile service">
<create-profileservice-config baseconf="default" conf="profileservice"/>
<server:start name="profileservice"/>
@@ -1236,6 +1243,79 @@
/>
</target>
+ <!--
+ A minimal set of tests
+
+ This should have a wide variety of basic tests,
+ that don't take very long to run.
+ -->
+ <target name="smoke-tests-raw" depends="init">
+ <echo><![CDATA[
+ junit.timeout: ${junit.timeout}
+ jbosstest.iterationcount: ${jbosstest.iterationcount}
+ jbosstest.threadcount: ${jbosstest.threadcount}
+ jbosstest.beancount: ${jbosstest.beancount}
+ ]]></echo>
+ <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.testlog}"/>
+ <junit dir="${module.output}"
+ printsummary="${junit.printsummary}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
+ fork="${junit.fork}"
+ timeout="${junit.timeout}"
+ jvm="${junit.jvm}">
+
+ <jvmarg line="${junit.jvm.options}"/>
+ <!-- Used for JGroups -->
+ <jvmarg value="-Dbind.address=${node0}"/>
+ <sysproperty key="jboss.dist" value="${jboss.dist}"/>
+ <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/>
+ <sysproperty key="build.testlog" value="${build.testlog}"/>
+ <sysproperty key="java.protocol.handler.pkgs" value="org.jboss.virtual.protocol"/>
+ <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
+ <sysproperty key="java.naming.provider.url" value="${node0.jndi.url}"/>
+ <sysproperty key="jbosstest.server.host" value="${node0}"/>
+ <sysproperty key="jbosstest.useJBM" value="true"/>
+
+ <!-- Pass along any jbosstest.* system properties -->
+ <syspropertyset>
+ <propertyref prefix="jbosstest."/>
+ </syspropertyset>
+ <classpath>
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${build.resources}"/>
+ <path refid="tests.classpath"/>
+ </classpath>
+
+ <formatter type="xml" usefile="${junit.formatter.usefile}"/>
+
+ <batchtest todir="${build.reports}"
+ haltonerror="${junit.batchtest.haltonerror}"
+ haltonfailure="${junit.batchtest.haltonfailure}"
+ fork="${junit.batchtest.fork}">
+
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/aop/test/AOPUnitTestCase.class"/>
+ <include name="org/jboss/test/classloader/test/ScopingUnitTestCase.class"/>
+ <include name="org/jboss/test/cts/test/*UnitTestCase.class"/>
+ <exclude name="org/jboss/test/cts/test/StatefulSessionLocalUnitTestCase.class"/>
+ <exclude name="org/jboss/test/cts/test/StatefulSessionUnitTestCase.class"/>
+ <exclude name="org/jboss/test/cts/test/LongWaitStatefulSessionUnitTestCase.class"/>
+ <include name="org/jboss/test/ejb3/test/SimpleSessionUnitTestCase.class"/>
+ <include name="org/jboss/test/jbossmessaging/test/JBossMessagingJoramUnitTestCase.class"/>
+ <include name="org/jboss/test/jca/test/BaseConnectionManagerUnitTestCase.class"/>
+ <include name="org/jboss/test/jca/test/PoolingUnitTestCase.class"/>
+ <include name="org/jboss/test/jca/test/XADSUnitTestCase.class"/>
+ <include name="org/jboss/test/jmsra/test/*UnitTestCase.class"/>
+ <include name="org/jboss/test/naming/test/SimpleUnitTestCase.class"/>
+ <include name="org/jboss/test/tm/test/TransactionManagerUnitTestCase.class"/>
+ <include name="org/jboss/test/web/test/WebIntegrationUnitTestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
<!--
| Standard tests that should run successfully against a default JBoss
| server distribution build.
More information about the jboss-cvs-commits
mailing list