Commit fa6e06a9 authored by duminil's avatar duminil
Browse files

Tests in deploy for RegionChooser/EmTool/Energy.

parent a750a04e
......@@ -13,7 +13,7 @@ Before executing check that all required modules/projects are enumerated in pro
<property name="target.path" value="lib/region-chooser" />
<property name="projects" value="RegionChooser,GeoLibs" />
<import file="../SimStadt/deploy-common.xml" />
<target name="deploy" depends="deploy-common"/>
<target name="deploy" depends="unit-test">
<echo file="${deploy.dir}/RegionChooser.bat">
java -classpath lib/* -Xms512m -Xmx2g -Djava.util.logging.config.file=logging.properties eu.simstadt.regionchooser.RegionChooserFX
pause > nul
......@@ -27,4 +27,16 @@ cd "$(dirname "$0")" # set the current working directory to the directory this s
java -classpath lib/* -Xms512m -Xmx2g -Djava.util.logging.config.file=logging.properties eu.simstadt.regionchooser.RegionChooserFX
</echo>
<chmod file="${deploy.dir}/RegionChooser.command" perm="u+x" />
</target>
<target name="unit-test" depends="test-common">
<junit printsummary="yes" haltonfailure="yes">
<!-- <formatter type="plain" usefile="false" /> to screen -->
<classpath refid="test-classpath"/>
<!-- RegionExtractor -->
<test name="eu.simstadt.regionchooser.RegionExtractorTests" haltonfailure="no"/>
</junit>
</target>
</project>
\ No newline at end of file
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