diff options
author | Eriks Sneiders <eriks.sneiders@zabbix.com> | 2021-08-24 16:47:07 +0300 |
---|---|---|
committer | Eriks Sneiders <eriks.sneiders@zabbix.com> | 2021-08-24 16:50:11 +0300 |
commit | 41cce5dccf2b9f7671a2f410cc0bf4f7ecb9055e (patch) | |
tree | 4c42e1128e675434f806e7269cea2109a1586c07 /build-backend.xml | |
parent | 65364d2800018a804b3c207aedc32795d87e149e (diff) |
...G...... [DEV-1942] updated build-backend.xml to add unit tests for Zabbix agent 2
Diffstat (limited to 'build-backend.xml')
-rw-r--r-- | build-backend.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build-backend.xml b/build-backend.xml index d42f3d27e3d..9e5693a985e 100644 --- a/build-backend.xml +++ b/build-backend.xml @@ -339,5 +339,19 @@ <ant antfile="../build-backend.xml" dir="sources" target="build-dist" inheritAll="true" inheritRefs="true"/> </target> + <target name="agent2-tests"> + <!-- Create, build & test agent2 --> + <exec executable="./bootstrap.sh" failonerror="on"/> + <exec executable="./configure" failonerror="on"> + <arg line="--quiet"/> + <arg line="--enable-agent2"/> + </exec> + <exec executable="make" failonerror="on"> + <arg line="-s"/> + <arg line="-j5"/> + <arg line="check"/> + </exec> + </target> + <target name="build" depends="make-dist"/> </project> |