summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-29 15:42:46 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:47:19 +0200
commitd43c9d18fb263b1ea4071b20e93ce4994583f62f (patch)
tree48a13f6a0427f5d3af4c7dcf4e967e191d12fa7f /Makefile.am
parentb1a822a16e3ef97e31d167f9e97efec06fc121dc (diff)
downloadsssd-d43c9d18fb263b1ea4071b20e93ce4994583f62f.tar.gz
sssd-d43c9d18fb263b1ea4071b20e93ce4994583f62f.tar.xz
sssd-d43c9d18fb263b1ea4071b20e93ce4994583f62f.zip
TESTS: Add a common mock_be_ctx function
Reduces code duplication between tests. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 6912fa971..db5b23242 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -620,6 +620,7 @@ dist_noinst_HEADERS = \
src/tests/cmocka/common_mock_sdap.h \
src/tests/cmocka/common_mock_sysdb_objects.h \
src/tests/cmocka/common_mock_krb5.h \
+ src/tests/cmocka/common_mock_be.h \
src/tests/cmocka/test_expire_common.h \
src/sss_client/pam_message.h \
src/sss_client/ssh/sss_ssh_client.h \
@@ -1935,6 +1936,7 @@ EXTRA_dyndns_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES)
dyndns_tests_SOURCES = \
$(SSSD_RESOLV_OBJ) \
+ src/tests/cmocka/common_mock_be.c \
src/tests/cmocka/test_dyndns.c \
src/providers/data_provider_opts.c
dyndns_tests_CFLAGS = \
@@ -1966,6 +1968,7 @@ nestedgroups_tests_SOURCES = \
$(TEST_MOCK_PROVIDER_OBJ) \
src/providers/ldap/sdap_idmap.c \
src/tests/cmocka/test_nested_groups.c \
+ src/tests/cmocka/common_mock_be.c \
src/providers/ldap/sdap_async_nested_groups.c \
src/providers/ldap/sdap_ad_groups.c \
$(NULL)
@@ -2269,6 +2272,7 @@ test_sysdb_utils_LDADD = \
$(NULL)
test_be_ptask_SOURCES = \
+ src/tests/cmocka/common_mock_be.c \
src/tests/cmocka/test_be_ptask.c \
src/providers/dp_ptask.c \
$(NULL)