Introducing quiz, the testing framework

This commit is contained in:
Romain Goyet
2015-09-03 22:44:25 +02:00
parent 304a8f1927
commit c494fabc23
8 changed files with 40 additions and 7 deletions

10
quiz/Makefile Normal file
View File

@@ -0,0 +1,10 @@
symbols_file = $(addprefix quiz/src/, symbols.c)
products += $(symbols_file)
$(symbols_file): $(tests)
@echo "AWK $@"
@awk -f quiz/src/symbols.awk $(tests) > $@
test_objs = $(subst .c,.o, $(subst .cpp,.o,$(tests)))
test.elf: quiz/src/symbols.o $(test_objs)