From 4139a7a731f2831963a42b26aac111422be28792 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 1 Apr 2013 13:22:49 +0200 Subject: Make leak checks usable in tests that do not utilize check * Remove check-specific failure reporting from common_check.c * Check-specific abstraction over memleak checks * Rename common_check.c to leak_check.c --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 33266955..09056b5d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -474,6 +474,7 @@ dist_noinst_HEADERS = \ src/resolv/ares/ares_parse_txt_reply.h \ src/resolv/ares/ares_data.h \ src/tests/common.h \ + src/tests/common_check.h \ src/tests/cmocka/common_mock.h \ src/tests/cmocka/common_mock_resp.h \ src/sss_client/ssh/sss_ssh_client.h \ @@ -848,7 +849,8 @@ libsss_test_common_la_SOURCES = \ if HAVE_CHECK libsss_test_common_la_SOURCES += \ - src/tests/common_check.c + src/tests/common_check.c \ + src/tests/leak_check.c sysdb_tests_DEPENDENCIES = \ $(ldblib_LTLIBRARIES) -- cgit