Skip to content
Snippets Groups Projects
Commit a8ae7097 authored by cramakri's avatar cramakri
Browse files

LMS-1343 Modified run tests target to run the individual test suites.

SVN: 14395
parent f9f99072
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@
</target>
<!--
// Runs system tests (only on Linux)
// Runs system tests
-->
<target name="run-system-tests" depends="prepare-gwt, compile-tests">
<delete dir="${output.test}" />
......@@ -71,15 +71,69 @@
<sysproperty key="hibernate.search.indexing_strategy" value="manual" />
<sysproperty key="data-store-server-base-url" value="https://localhost:8889" />
<formatter type="xml" />
<test name="ch.systemsx.cisd.openbis.generic.SystemTestSuite" todir="${output.test}" />
<test name="ch.systemsx.cisd.openbis.generic.EditingTestSuite" todir="${output.test}" />
</junit>
<fail>
<condition>
<isset property="tests-failed"/>
</condition>
</fail>
<junit dir="." fork="true" forkmode="once" maxmemory="1024m" showoutput="true" failureproperty="tests-failed">
<classpath>
<pathelement location="${sources}" />
<pathelement location="${sources.test}" />
<pathelement path="${ecp}" />
<pathelement location="${gwt.lib}/gwt-dev.jar" />
</classpath>
<jvmarg value="-ea" />
<sysproperty key="authentication-service" value="file-authentication-service" />
<sysproperty key="database.create-from-scratch" value="true" />
<sysproperty key="database.kind" value="system_test" />
<sysproperty key="script-folder" value="sourceTest" />
<sysproperty key="mass-upload-folder" value="sourceTest/sql/postgresql" />
<sysproperty key="log4j.configuration" value="etc/log_system_test.xml" />
<sysproperty key="hibernate.search.index-base" value="sourceTest/lucene/indices" />
<sysproperty key="hibernate.search.index-mode" value="NO_INDEX" />
<sysproperty key="hibernate.search.indexing_strategy" value="manual" />
<sysproperty key="data-store-server-base-url" value="https://localhost:8889" />
<sysproperty key="gwt.args" value="-Xtries 1" />
<formatter type="xml" />
<test name="ch.systemsx.cisd.openbis.generic.ViewingTestSuite1" todir="${output.test}" />
</junit>
<fail>
<condition>
<isset property="tests-failed"/>
</condition>
</fail>
<junit dir="." fork="true" forkmode="once" maxmemory="1024m" showoutput="true" failureproperty="tests-failed">
<classpath>
<pathelement location="${sources}" />
<pathelement location="${sources.test}" />
<pathelement path="${ecp}" />
<pathelement location="${gwt.lib}/gwt-dev.jar" />
</classpath>
<jvmarg value="-ea" />
<sysproperty key="authentication-service" value="file-authentication-service" />
<sysproperty key="database.create-from-scratch" value="true" />
<sysproperty key="database.kind" value="system_test" />
<sysproperty key="script-folder" value="sourceTest" />
<sysproperty key="mass-upload-folder" value="sourceTest/sql/postgresql" />
<sysproperty key="log4j.configuration" value="etc/log_system_test.xml" />
<sysproperty key="hibernate.search.index-base" value="sourceTest/lucene/indices" />
<sysproperty key="hibernate.search.index-mode" value="NO_INDEX" />
<sysproperty key="hibernate.search.indexing_strategy" value="manual" />
<sysproperty key="data-store-server-base-url" value="https://localhost:8889" />
<sysproperty key="gwt.args" value="-Xtries 1" />
<formatter type="xml" />
<test name="ch.systemsx.cisd.openbis.generic.ViewingTestSuite2" todir="${output.test}" />
</junit>
<fail>
<condition>
<isset property="tests-failed"/>
</condition>
</fail>
</target>
<!--
// Makes a distribution file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment