From 80314a6f3ea8d81abe73d501d5b953a256cb2167 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Mon, 21 Apr 2014 19:44:52 +0200 Subject: sss_config: unit tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Lukáš Slebodník --- Makefile.am | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 04f1ecd3e..ce0f72733 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,6 +155,10 @@ if BUILD_SSH non_interactive_check_based_tests += sysdb_ssh-tests endif +if BUILD_CONFIG_LIB + non_interactive_check_based_tests += sss_config-tests +endif + endif if HAVE_CMOCKA @@ -1427,6 +1431,21 @@ sbus_codegen_tests_LDADD = \ $(SSSD_LIBS) \ $(CHECK_LIBS) +if BUILD_CONFIG_LIB +sss_config_tests_SOURCES = \ + src/tests/sss_config-tests.c \ + src/tests/common.c +sss_config_tests_CFLAGS = \ + $(AM_CFLAGS) \ + $(CHECK_CFLAGS) +sss_config_tests_LDADD = \ + $(SSSD_LIBS) \ + $(CHECK_LIBS) \ + $(SSSD_INTERNAL_LTLIBS) \ + libsss_config.la \ + libsss_test_common.la +endif + if HAVE_CMOCKA TEST_MOCK_RESP_OBJ = \ -- cgit