mirror of https://github.com/contiki-ng/mspsim
build.xml: add <something>-firmware targets
Add some targets that makes it possible to run the files under tests/ from ant.
This commit is contained in:
parent
c82dc9e90f
commit
b58f4b77df
17
build.xml
17
build.xml
|
|
@ -61,6 +61,14 @@
|
|||
</java>
|
||||
</target>
|
||||
|
||||
<target name="runsky-firmware" depends="jar"
|
||||
description="run MSPSim with platform Sky">
|
||||
<java fork="true" classpath="${jarfile}"
|
||||
classname="se.sics.mspsim.platform.sky.SkyNode" failonerror="true">
|
||||
<arg line="${ARGS}"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="runskyprof" depends="jar" description="run MSPSim with platform Sky for profiling">
|
||||
<property name="FIRMWAREFILE" value="firmware/sky/blink.sky"/>
|
||||
<java fork="true" classpath="${jarfile}" classname="se.sics.mspsim.platform.sky.SkyNode">
|
||||
|
|
@ -134,6 +142,15 @@
|
|||
</java>
|
||||
</target>
|
||||
|
||||
<target name="test-firmware" depends="jar"
|
||||
description="run MSPSim firmware as test">
|
||||
<java fork="true" classpath="${jarfile}"
|
||||
classname="se.sics.mspsim.util.Test"
|
||||
failonerror="true" timeout="10000">
|
||||
<arg line="${ARGS}" />
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="test-cpu" depends="jar" description="run MSPSim CPU test">
|
||||
<java fork="true" classpath="${jarfile}"
|
||||
classname="se.sics.mspsim.util.Test"
|
||||
|
|
|
|||
Loading…
Reference in New Issue