Add valgrind testing and fix valgrind errors
This commit is contained in:
8
Assignment1/tests/valgrind.sh
Normal file
8
Assignment1/tests/valgrind.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Could make more complicated and more similar to test.sh, but only the most complicated test case is fine for now
|
||||
|
||||
valgrind --leak-check=full \
|
||||
--show-leak-kinds=definite \
|
||||
--track-origins=yes \
|
||||
./../build/Assignment1 < pdf2.txt
|
Reference in New Issue
Block a user