diff options
author | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2018-01-17 13:10:55 +0300 |
---|---|---|
committer | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2018-01-17 13:10:55 +0300 |
commit | 1b13f5db04b614c2be23bf7a9347ae8676c51526 (patch) | |
tree | 0ee01880b82760256d50ef5dcde905d20b052c3f /Makefile.am | |
parent | a01612e9c5e689dfcdd80bac8be91e80404699a4 (diff) |
.......... [ZBXNEXT-686] fixed ANT script to build mock tests on Jenkins
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 9f00c8b58d6..7318a13654f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -136,11 +136,13 @@ COMMON_WRAP_FUNCS = \ $(WRAP_FS_FUNCS) \ $(WRAP_EXIT) -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 |