explicit unit tests for config tokens in real source code

This commit is contained in:
rusefillc 2021-11-24 14:17:28 -05:00
parent c46cf51dc5
commit d32af2a484
1 changed files with 8 additions and 6 deletions

View File

@ -77,7 +77,7 @@
</javac>
</target>
<target name="test" depends="compile">
<target name="test" depends="compile, copy_c_sources">
<junit fork="no"
maxmemory="512m"
printsummary="yes"
@ -123,7 +123,13 @@
</jar>
</target>
<target name="jar" depends="compile, autoupdate_jar">
<target name="copy_c_sources">
<copy todir="build/classes/c_sources" flatten="true">
<fileset dir="../firmware/controllers" includes="**/*.cpp"/>
</copy>
</target>
<target name="jar" depends="compile, copy_c_sources, autoupdate_jar">
<mkdir dir="build/jar"/>
<delete file="${jar_file}"/>
<echo message="Building ${jar_file}"/>
@ -135,10 +141,6 @@
<fileset dir="romraider/resources" includes="**/*.*"/>
</copy>
<copy todir="build/classes/c_sources" flatten="true">
<fileset dir="../firmware/controllers" includes="**/*.cpp"/>
</copy>
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd HH:mm:ss"/>
</tstamp>