diff options
author | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2017-11-27 21:13:31 +0300 |
---|---|---|
committer | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2017-11-27 21:13:31 +0300 |
commit | 279cde0d2efb0661f5efe516b3d7093d679e96f6 (patch) | |
tree | 10398bb3e38c21a39dfcf0a5d38de3e8985ce985 /Makefile.am | |
parent | eafd61e9022b424a95f93ffe05aa91156cb674fc (diff) |
....I..... [DEV-628] extended mock data library with common file IO functions
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 8fedb7d7f9b..1a7b80c34ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,10 +100,15 @@ WRAP_DB_FUNCS = \ -Wl,--wrap=DBexecute_multiple_query \ -Wl,--wrap=DBfree_result +WRAP_IO_FUNCS = \ + -Wl,--wrap=fopen \ + -Wl,--wrap=fclose \ + -Wl,--wrap=fgets + tests: $(MAKE) $(AM_MAKEFLAGS) && \ cd tests && \ - $(MAKE) $(AM_MAKEFLAGS) LDFLAGS="$(LDFLAGS) $(WRAP_DB_FUNCS)" LIBS="$(LIBS) -lcmocka -lyaml" && \ + $(MAKE) $(AM_MAKEFLAGS) LDFLAGS="$(LDFLAGS) $(WRAP_DB_FUNCS) $(WRAP_IO_FUNCS)" LIBS="$(LIBS) -lcmocka -lyaml" && \ ./tests_run.pl endif |