summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am24
1 files changed, 8 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am
index ce1b676..6135f2a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,28 +46,20 @@ install-exec-hook:
46 $(LN_S) liberasurecode/config_liberasurecode.h) 46 $(LN_S) liberasurecode/config_liberasurecode.h)
47 47
48test: check 48test: check
49 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) \ 49 @./test/liberasurecode_test
50 ./test/liberasurecode_test 50 @./test/alg_sig_test
51 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) \ 51 @./test/test_xor_hd_code
52 ./test/alg_sig_test 52 @./test/libec_slap
53 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) \
54 ./test/test_xor_hd_code
55 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) \
56 ./test/libec_slap
57 53
58VALGRIND_EXEC_COMMAND = $(LIBTOOL_COMMAND) valgrind --tool=memcheck \ 54VALGRIND_EXEC_COMMAND = $(LIBTOOL_COMMAND) valgrind --tool=memcheck \
59 --error-exitcode=1 --leak-check=yes --track-fds=yes \ 55 --error-exitcode=1 --leak-check=yes --track-fds=yes \
60 --malloc-fill=A5 --free-fill=DE --fullpath-after=. --trace-children=yes 56 --malloc-fill=A5 --free-fill=DE --fullpath-after=. --trace-children=yes
61 57
62valgrind-test: check 58valgrind-test: check
63 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) $(VALGRIND_EXEC_COMMAND) \ 59 @$(VALGRIND_EXEC_COMMAND) ./test/alg_sig_test
64 ./test/alg_sig_test 60 @$(VALGRIND_EXEC_COMMAND) ./test/liberasurecode_test
65 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) $(VALGRIND_EXEC_COMMAND) \ 61 @$(VALGRIND_EXEC_COMMAND) ./test/test_xor_hd_code
66 ./test/liberasurecode_test 62 @$(VALGRIND_EXEC_COMMAND) ./test/libec_slap
67 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) $(VALGRIND_EXEC_COMMAND) \
68 ./test/test_xor_hd_code
69 @$(LD_LIBRARY_PATH) $(DYLD_LIBRARY_PATH) $(DYLD_FALLBACK_LIBRARY_PATH) $(VALGRIND_EXEC_COMMAND) \
70 ./test/libec_slap
71 63
72CLEANFILES = cscope.in.out cscope.out cscope.po.out 64CLEANFILES = cscope.in.out cscope.out cscope.po.out
73 65