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:
authorViktors Tjarve <viktors.tjarve@zabbix.com>2018-03-29 11:35:22 +0300
committerViktors Tjarve <viktors.tjarve@zabbix.com>2018-03-29 11:35:22 +0300
commit0002cedeba36cc0da82579e52a43789044cb2d86 (patch)
tree6c5f6893aea10557ba3e7078df208382e35cacf3 /build-backend.xml
parentda2d54111a398e86c70cf5a50775ffa8b5a1eccf (diff)
.......... [DEV-810] simplified Jenkins script for running Cmocka tests with only one large set of configuration options
Diffstat (limited to 'build-backend.xml')
-rw-r--r--build-backend.xml55
1 files changed, 27 insertions, 28 deletions
diff --git a/build-backend.xml b/build-backend.xml
index cc14d140753..a073350b3e9 100644
--- a/build-backend.xml
+++ b/build-backend.xml
@@ -275,36 +275,35 @@
<!-- Build Zabbix with all supported databases -->
<target name="make-db" depends="make-db-mysql,make-db-postgresql,make-db-oracle,make-db-db2"/>
- <target name="mock-tests" depends="init-conf-options">
+ <target name="mock-tests">
<!-- Build Zabbix with C mock tests -->
<exec executable="./bootstrap.sh" failonerror="on"></exec>
- <propertyselector property="conf.list" delimiter="," match="conf(\d+)"/>
- <sortlist property="conf.list" delimiter="," value="${conf.list}" override="true"/>
- <for list="${conf.list}" param="name" delimiter=",">
- <sequential>
- <exec executable="./configure" failonerror="on">
- <arg line="-q"/>
- <arg line="${@{name}}"/>
- </exec>
- <trycatch>
- <try>
- <exec executable="make" failonerror="on">
- <arg line="-s"/>
- <arg line="-j5"/>
- <arg line="tests_build"/>
- </exec>
- <exec executable="tests/tests_run.pl" failonerror="on" output="output.xml"></exec>
- </try>
- <finally>
- <exec executable="make" failonerror="on">
- <arg line="-s"/>
- <arg line="-j5"/>
- <arg line="clean"/>
- </exec>
- </finally>
- </trycatch>
- </sequential>
- </for>
+ <exec executable="./configure" failonerror="on">
+ <arg line="-q"/>
+ <arg line="--enable-server"/>
+ <arg line="--enable-agent"/>
+ <arg line="--enable-proxy"/>
+ <arg line="--enable-ipv6"/>
+ <arg line="--with-mysql"/>
+ <arg line="--with-jabber"/>
+ <arg line="--with-libxml2"/>
+ <arg line="--with-unixodbc"/>
+ <arg line="--with-net-snmp"/>
+ <arg line="--with-ssh2"/>
+ <arg line="--with-openipmi"/>
+ <arg line="--with-libevent"/>
+ <arg line="--with-mbedtls"/>
+ <arg line="--with-ldap"/>
+ <arg line="--with-libcurl"/>
+ <arg line="--with-iconv"/>
+ <arg line="--with-libpcre"/>
+ </exec>
+ <exec executable="make" failonerror="on">
+ <arg line="-s"/>
+ <arg line="-j5"/>
+ <arg line="tests_build"/>
+ </exec>
+ <exec executable="tests/tests_run.pl" failonerror="on" output="output.xml"></exec>
</target>
<target name="run-unit-test">