diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-05-18 20:53:54 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-29 09:08:35 +0200 |
commit | f43c6a9ae2aea13b7a83fd932139f9352efbfcad (patch) | |
tree | 5fe02ccb5868711079b1fe22de755539b45dcd52 /Makefile.am | |
parent | a7e27c11866a48742bb70564b88e15bf15e9367d (diff) | |
download | sssd-f43c6a9ae2aea13b7a83fd932139f9352efbfcad.tar.gz sssd-f43c6a9ae2aea13b7a83fd932139f9352efbfcad.tar.xz sssd-f43c6a9ae2aea13b7a83fd932139f9352efbfcad.zip |
sss_sifp: unit tests
https://fedorahosted.org/sssd/ticket/2254
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 69347a032..bede2a440 100644 --- a/Makefile.am +++ b/Makefile.am @@ -181,6 +181,7 @@ if HAVE_CMOCKA dp_opt_tests \ responder-get-domains-tests \ sbus-internal-tests \ + sss_sifp-tests \ test_search_bases if BUILD_IFP @@ -1810,6 +1811,26 @@ ifp_tests_LDADD = \ $(SSSD_LIBS) \ $(SSSD_INTERNAL_LTLIBS) \ libsss_test_common.la + +sss_sifp_tests_SOURCES = \ + src/tests/cmocka/test_sss_sifp.c \ + src/lib/sifp/sss_sifp_attrs.c \ + src/lib/sifp/sss_sifp_parser.c \ + src/lib/sifp/sss_sifp_utils.c \ + src/lib/sifp/sss_sifp_dbus.c \ + src/lib/sifp/sss_sifp.c +sss_sifp_tests_CFLAGS = \ + $(AM_CFLAGS) \ + -I$(top_srcdir)/src/lib/sifp +sss_sifp_tests_LDFLAGS = \ + -Wl,-wrap,dbus_bus_get \ + -Wl,-wrap,dbus_connection_send_with_reply_and_block +sss_sifp_tests_LDADD = \ + $(CMOCKA_LIBS) \ + $(DBUS_LIBS) \ + $(TALLOC_LIBS) \ + $(POPT_LIBS) \ + $(SSSD_INTERNAL_LTLIBS) endif # BUILD_IFP endif # HAVE_CMOCKA |