Commit f0745876 authored by Vít Kabele's avatar Vít Kabele

Server's unit tests in CI and global build.xml

parent 9934d081
Pipeline #5338 passed with stages
in 5 minutes and 28 seconds
......@@ -63,3 +63,11 @@ test util:
policy: pull
script:
- ant test-util
test server:
stage: test
cache:
<<: *cache
policy: pull
script:
- ant test-server
......@@ -781,16 +781,21 @@
<!-- Run the shadow VM unit tests -->
<target name="test-shvm">
<ant antfile="${src.shvm.prefix}/build.xml" target="test" usenativebasedir="true" />
<ant antfile="${src.shvm.prefix}/build.xml" target="test" usenativebasedir="true"/>
</target>
<!-- Run the shadow VM unit tests -->
<!-- Run the util unit tests -->
<target name="test-util">
<ant antfile="${src.util.prefix}/build.xml" target="test" usenativebasedir="true" />
<ant antfile="${src.util.prefix}/build.xml" target="test" usenativebasedir="true"/>
</target>
<!-- Run the server's unit tests -->
<target name="test-server">
<ant antfile="${server.prefix}/build.xml" target="test" usenativebasedir="true"/>
</target>
<!-- Run all tests -->
<target name="test" depends="test-disl,test-shvm,test-util,test-compound"></target>
<target name="test" depends="test-disl,test-shvm,test-util,test-server,test-compound"></target>
<!-- Run compound tests -->
<target name="test-compound" depends="build,build-test" description="Runs all tests or a selected (-Dtest.name=...) test suite.">
......
Markdown is supported
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