From 036b0adceb507060756b1a07779c81854eaad2c1 Mon Sep 17 00:00:00 2001
From: "raphael.bach" <raphael.bach@etu.hesge.ch>
Date: Sat, 19 Jan 2019 20:30:46 +0100
Subject: [PATCH] Add valgrind test for -d option in tests target in makefile

---
 makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makefile b/makefile
index 55340d7..63843d2 100644
--- a/makefile
+++ b/makefile
@@ -252,7 +252,7 @@ all: sparse2img img2sparse
 tests:
 	$(SCANBUILD)
 	$(CPPCHECK)
-	$(VALGRIND) ./sparse2img.out x x 2> $(ANALYZE_PATH)/valgrind
+	$(VALGRIND) ./sparse2img.out -d test.simg 2> $(ANALYZE_PATH)/valgrind_d_option
 	#$(VALGRIND) ./img2sparse.out test.simg x 2>> $(ANALYZE_PATH)/valgrind
 
 %.info: %.o
-- 
GitLab