diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-01-01 18:14:22 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-01-01 18:14:22 +0100 |
commit | b832feb3894d95a82e88da05bb9fa29c6da26211 (patch) | |
tree | 7a7845fd5256b1454743817fd587fa7621164c05 /Makefile.am | |
parent | 463f6bd5a7f74827427b431452b0720f7be3bd62 (diff) | |
download | blogc-b832feb3894d95a82e88da05bb9fa29c6da26211.tar.gz blogc-b832feb3894d95a82e88da05bb9fa29c6da26211.tar.bz2 blogc-b832feb3894d95a82e88da05bb9fa29c6da26211.zip |
make: added a bunch of tests
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index bd69302..7650ccc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -406,6 +406,12 @@ check_SCRIPTS += \ endif endif +if BUILD_MAKE +check_SCRIPTS += \ + tests/blogc-make/check_blogc_make.sh \ + $(NULL) +endif + check_SCRIPTS += \ tests/blogc/check_blogc.sh \ $(NULL) @@ -731,9 +737,47 @@ endif if BUILD_MAKE_LIB check_PROGRAMS += \ + tests/blogc-make/check_atom \ + tests/blogc-make/check_exec \ tests/blogc-make/check_settings \ $(NULL) +tests_blogc_make_check_atom_SOURCES = \ + tests/blogc-make/check_atom.c \ + $(NULL) + +tests_blogc_make_check_atom_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_blogc_make_check_atom_LDFLAGS = \ + -no-install \ + $(NULL) + +tests_blogc_make_check_atom_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc_make.la \ + libblogc_common.la \ + $(NULL) + +tests_blogc_make_check_exec_SOURCES = \ + tests/blogc-make/check_exec.c \ + $(NULL) + +tests_blogc_make_check_exec_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_blogc_make_check_exec_LDFLAGS = \ + -no-install \ + $(NULL) + +tests_blogc_make_check_exec_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc_make.la \ + libblogc_common.la \ + $(NULL) + tests_blogc_make_check_settings_SOURCES = \ tests/blogc-make/check_settings.c \ $(NULL) |