From ae6c1596225c65bec2a2dabff9eee4e3e0691181 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Sat, 23 Mar 2013 01:42:48 +0530 Subject: cmocka unittest for io added --- Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e12b769ce..3209cbab3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -147,7 +147,8 @@ endif if HAVE_CMOCKA non_interactive_cmocka_based_tests = \ nss-srv-tests \ - test-find-uid + test-find-uid \ + test-io endif check_PROGRAMS = \ @@ -1233,6 +1234,14 @@ test_find_uid_LDADD = \ $(DHASH_LIBS) \ $(CMOCKA_LIBS) \ libsss_util.la + +test_io_SOURCES = \ + src/tests/cmocka/test_io.c \ + src/util/io.c +test_io_CFLAGS = \ + $(AM_CFLAGS) +test_io_LDADD = \ + $(CMOCKA_LIBS) endif noinst_PROGRAMS = pam_test_client -- cgit