Commit bc18dfff2f0a44461d6be2264511b3e8e63dbcac
authorSami Liedes <sliedes@cc.hut.fi>
Fri, 11 Feb 2011 01:02:33 +0000 (03:02 +0200)
committerSami Liedes <sliedes@cc.hut.fi>
Mon, 28 Feb 2011 03:31:36 +0000 (05:31 +0200)
tree46aa2d1facd44a4fc7277ea3a19e7e09de7a50be
parent27ba3fb4c8f2a463a1364d6787c3a6d50644d5f3
Message:
Automate test cases.

This patch implements a framework for test cases. Each test case is
compiled into an individual executable. All test cases can be run by
invoking the command `make run_tests', which runs the shell script
run_tests.

Signed-off-by: Sami Liedes <sliedes@cc.hut.fi>
18 files changed:
Makefile
tests/.gitignore [new file with mode: 0644]
tests/Makefile
tests/atmega48_disabled_timer.c
tests/atmega48_enabled_timer.c [new file with mode: 0644]
tests/atmega88_example.c
tests/atmega88_timer16.c
tests/atmega88_uart_echo.c
tests/run_tests [new file with mode: 0755]
tests/test_atmega48_disabled_timer.c [new file with mode: 0644]
tests/test_atmega48_enabled_timer.c [new file with mode: 0644]
tests/test_atmega48_watchdog_test.c [new file with mode: 0644]
tests/test_atmega644_adc_test.c [new file with mode: 0644]
tests/test_atmega88_example.c [new file with mode: 0644]
tests/test_atmega88_timer16.c [new file with mode: 0644]
tests/test_atmega88_uart_echo.c [new file with mode: 0644]
tests/tests.c [new file with mode: 0644]
tests/tests.h [new file with mode: 0644]