continued work on test framework

This commit is contained in:
Jonathon Reinhart
2015-09-07 16:07:48 -04:00
parent d4de54601d
commit df3966a90c
5 changed files with 87 additions and 17 deletions

View File

@@ -1,4 +1,5 @@
CFLAGS += -Wall -Werror -Wno-unused-function -g
CFLAGS += -L ../../
CFLAGS += -lcmocka -lunicorn
CFLAGS += -I ../../include
@@ -15,12 +16,8 @@ clean:
.PHONY: test
test: export LD_LIBRARY_PATH=../../
test: ${ALL_TESTS}
@#echo ${ALL_TESTS} | xargs -n1 | xargs -I CMD sh -c ./CMD
@for test in ${ALL_TESTS}; do \
echo -e "\n--------------------------------------------------------------------------------"; \
echo "TEST: $$test"; \
./$$test || break; \
done
./test_x86
./test_mem_map
test_x86: test_x86.c