From 329ef39c0fe382498dde48b5822b041a3804f618 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 19 Apr 2015 16:45:20 -0300 Subject: error: added tests --- Makefile.am | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 71747dc..0988b5f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -81,12 +81,30 @@ blogc_LDADD = \ if USE_CMOCKA check_PROGRAMS += \ + tests/check_error \ tests/check_loader \ tests/check_source_parser \ tests/check_template_parser \ tests/check_utils \ $(NULL) +tests_check_error_SOURCES = \ + tests/check_error.c \ + $(NULL) + +tests_check_error_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_check_error_LDFLAGS = \ + -no-install \ + $(NULL) + +tests_check_error_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc.la \ + $(NULL) + tests_check_loader_SOURCES = \ tests/check_loader.c \ $(NULL) -- cgit v1.2.3-18-g5258