aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5a4fb15..a6539a7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -83,11 +83,29 @@ blogc_LDADD = \
if USE_CMOCKA
check_PROGRAMS += \
+ tests/check_loader \
tests/check_source_parser \
tests/check_template_parser \
tests/check_utils \
$(NULL)
+tests_check_loader_SOURCES = \
+ tests/check_loader.c \
+ $(NULL)
+
+tests_check_loader_CFLAGS = \
+ $(CMOCKA_CFLAGS) \
+ $(NULL)
+
+tests_check_loader_LDFLAGS = \
+ -no-install \
+ $(NULL)
+
+tests_check_loader_LDADD = \
+ $(CMOCKA_LIBS) \
+ libblogc.la \
+ $(NULL)
+
tests_check_source_parser_SOURCES = \
tests/check_source_parser.c \
$(NULL)