diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-01 13:22:49 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-17 11:43:22 +0200 |
commit | 4139a7a731f2831963a42b26aac111422be28792 (patch) | |
tree | c69d00109216ecaae36d54f3877946d89e16de17 /Makefile.am | |
parent | 714ba5f50551a42df324714358dc379b351d4a53 (diff) | |
download | sssd-4139a7a731f2831963a42b26aac111422be28792.tar.gz sssd-4139a7a731f2831963a42b26aac111422be28792.tar.xz sssd-4139a7a731f2831963a42b26aac111422be28792.zip |
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
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 332669551..09056b5d9 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) |