diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-02-10 00:58:25 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-02-10 00:58:25 +0100 |
commit | 8b7ef9a86d712f0939d1170b5abfe9af13b1873e (patch) | |
tree | f535fc319fd41126ab1100b4b59d2c02c8cc8ba0 /Makefile.am | |
parent | 49ed30a5e87e510fd0c14b367110175f9d2fb144 (diff) | |
download | blogc-8b7ef9a86d712f0939d1170b5abfe9af13b1873e.tar.gz blogc-8b7ef9a86d712f0939d1170b5abfe9af13b1873e.tar.bz2 blogc-8b7ef9a86d712f0939d1170b5abfe9af13b1873e.zip |
blogc: funcvars: code simplified, added tests
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 11d9605..f83d6ed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -478,10 +478,31 @@ check_PROGRAMS += \ if USE_LD_WRAP check_PROGRAMS += \ + tests/blogc/check_funcvars \ tests/blogc/check_loader \ tests/common/check_stdin \ $(NULL) +tests_blogc_check_funcvars_SOURCES = \ + tests/blogc/check_funcvars.c \ + $(NULL) + +tests_blogc_check_funcvars_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_blogc_check_funcvars_LDFLAGS = \ + -no-install \ + -Wl,--wrap=bc_file_get_contents \ + $(NULL) +#-Wl,--wrap=bc_file_get_contents + +tests_blogc_check_funcvars_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc.la \ + libblogc_common.la \ + $(NULL) + tests_blogc_check_loader_SOURCES = \ tests/blogc/check_loader.c \ $(NULL) |