diff options
author | David Phillips <david@sighup.nz> | 2019-08-04 14:21:05 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-04 14:24:50 +1200 |
commit | 4b1f9e2cb436e74ce6084dbc35df5f052cb701bf (patch) | |
tree | 201bf4d3cf1120ad0e9a8d3fe7b1a95c2fd3333d /test/valgrind.sh | |
parent | 1c8e50028e15facaa4d31992bfc6cab9d10832e6 (diff) | |
download | toy-cpu-assembler-4b1f9e2cb436e74ce6084dbc35df5f052cb701bf.tar.xz |
Wrap tests in valgrind, clean up memory leaks
Diffstat (limited to 'test/valgrind.sh')
-rw-r--r-- | test/valgrind.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/valgrind.sh b/test/valgrind.sh new file mode 100644 index 0000000..9c230d4 --- /dev/null +++ b/test/valgrind.sh @@ -0,0 +1,2 @@ +VALGRIND=valgrind +VALGRIND_OPTS="-q --error-exitcode=1 --leak-check=full --show-reachable=yes" |