diff options
author | Eric Lambert <eric_lambert@xyratex.com> | 2014-06-12 16:08:30 -0700 |
---|---|---|
committer | Eric Lambert <eric_lambert@xyratex.com> | 2014-06-12 16:08:30 -0700 |
commit | 71f5715115dfe7f42aa689bad78ac5c70ad61653 (patch) | |
tree | 2105870f5441389853ff9c966a0d0361c2f75c17 | |
parent | 2ce9d0cc005995e90fd62d802f6f6744edfee43d (diff) | |
download | liberasurecode-71f5715115dfe7f42aa689bad78ac5c70ad61653.tar.gz |
Created make target to run tests under valgrind
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 9f0d538..02061f4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -15,7 +15,7 @@ @SET_MAKE@ - +VALGRIND_EXEC_COMMAND = $(LIBTOOL_COMMAND) valgrind --tool=memcheck --error-exitcode=1 --leak-check=yes --track-fds=yes --malloc-fill=A5 --free-fill=DE --fullpath-after=. VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ @@ -931,6 +931,10 @@ test: alg_sig_test test_xor_hd_code ./alg_sig_test ./test_xor_hd_code +valgrind-test: alg_sig_test test_xor_hd_code + $(VALGRIND_EXEC_COMMAND) ./alg_sig_test + $(VALGRIND_EXEC_COMMAND) ./test_xor_hd_code + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |