Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Veksler <Mihails.Vekslers@zabbix.com>2018-03-06 14:45:37 +0300
committerMichael Veksler <Mihails.Vekslers@zabbix.com>2018-03-06 14:45:37 +0300
commitbd20590271128c793a3751aea97fcdee5c4ddddf (patch)
tree0e311cb099fe53373edd5d0e611ad8f602b4a887 /Makefile.am
parentbb7f640102a1dddca278bf390dcd6249c7a3f1ea (diff)
parenta05ed4407a55200ac433586229a8bd22946ab59a (diff)
.......... [ZBX-11994] updated to the latest trunk
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 71414107b40..de7ad9c024d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -130,17 +130,24 @@ WRAP_FS_FUNCS = \
WRAP_EXIT = \
-Wl,--wrap=exit
+WRAP_COMM_FUNCS = \
+ -Wl,--wrap=read \
+ -Wl,--wrap=connect
+
COMMON_WRAP_FUNCS = \
$(WRAP_DB_FUNCS) \
$(WRAP_IO_FUNCS) \
$(WRAP_FS_FUNCS) \
- $(WRAP_EXIT)
+ $(WRAP_EXIT) \
+ $(WRAP_COMM_FUNCS)
-tests:
+tests_build:
$(MAKE) $(AM_MAKEFLAGS) && \
cd tests && \
- $(MAKE) $(AM_MAKEFLAGS) LDFLAGS="$(LDFLAGS) $(COMMON_WRAP_FUNCS)" LIBS="$(LIBS) -lcmocka -lyaml" && \
- ./tests_run.pl
+ $(MAKE) $(AM_MAKEFLAGS) LDFLAGS="$(LDFLAGS) $(COMMON_WRAP_FUNCS)" LIBS="$(LIBS) -lcmocka -lyaml"
+
+tests: tests_build
+ tests/tests_run.pl
endif
.PHONY: test tests