CS3413/Assignment1/tests/valgrind.sh

8 lines
273 B
Bash
Raw Permalink Normal View History

#!/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