From b28d02537cd3c2e39dc4db9d5f53a59b694dda13 Mon Sep 17 00:00:00 2001 From: bpc2003 Date: Fri, 23 May 2025 14:56:46 -0400 Subject: Add more tests --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 82a4adc..01d46bd 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,9 @@ lib: $(BUILD) rm $(BUILD)/libengine.a test: $(BUILD) - $(CC) tests/*.c src/include/engine/*.c unity/unity.c -o $(BUILD)/test.out - exec $(BUILD)/test.out + $(CC) -I. tests/*.c src/include/engine/*.c unity/unity.c -o $(BUILD)/test.out + valgrind --tool=memcheck --log-file=mem_dbg $(BUILD)/test.out + valgrind --tool=drd -s --log-file=thrd_dbg $(BUILD)/test.out rm -rf $(BUILD) $(BUILD): -- cgit v1.2.3