summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbpc2003 <wpesfriendnva@gmail.com>2025-05-23 14:56:46 -0400
committerbpc2003 <wpesfriendnva@gmail.com>2025-05-23 14:56:46 -0400
commitb28d02537cd3c2e39dc4db9d5f53a59b694dda13 (patch)
tree48bd1245edb214ea22165d0c6d6f85291012c163 /Makefile
parent0cb3dab6b0fc4b5ebe00c0afaaceb68dcf98c6dc (diff)
Add more tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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):