* add jam test target

dev/timer
Kaspar Schleiser 13 years ago
parent 483996d902
commit 0bae701f65

@ -61,6 +61,7 @@ Doc doc ; # build the documentation
Flash flash : $(TARGET:S=.hex) ;
Reset reset ;
Terminal term ;
Test test : all ;
Debug debug : $(TARGET) ;
ListModules listmodules ;

@ -169,6 +169,17 @@ actions Flash
$(FLASHER) $(FLASHFLAGS) $(>)
}
#
# Run all tests for active project
rule Test
{
Depends $(<) : $(>) ;
}
actions Test
{
for tst in projects/$(PROJECT)/tests/*; do $tst; done
}
# Reset connected sensor node
actions Reset
{

Loading…
Cancel
Save