From 6ed0f41b0cc8b63c1199875b65253b5be453f120 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 25 Jan 2023 08:51:13 +0100 Subject: [PATCH] Adding target "test-debug" for valgrind test --- .gitignore | 1 + src/test/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b39be27..a66be7a 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ src/test/*.bin src/test/objects/ src/test/results/ src/test/*.csv +*xtleak.kcg* diff --git a/src/test/Makefile b/src/test/Makefile index 64ba288..3dcda49 100644 --- a/src/test/Makefile +++ b/src/test/Makefile @@ -41,7 +41,7 @@ test: $(EXE) $(OUTPUT_FOLDER) test-debug: $(EXE) $(OUTPUT_FOLDER) rm -f $(OUTPUT_FOLDER)/* - valgrind --leak-check=full --leak-resolution=high --show-leak-kinds=all --xtree-leak=yes --show-mismatched-frees=yes --log-file=$(OUTPUT_FOLDER)/valgrind-analysis-results.txt ./$(EXE) + valgrind --leak-check=full --leak-resolution=high --show-leak-kinds=all --xtree-leak=yes --show-mismatched-frees=yes --error-limit=no --log-file=$(OUTPUT_FOLDER)/valgrind-analysis-results.txt ./$(EXE) $(OBJDIR): mkdir -p $@