diff options
author | Eriks Sneiders <eriks.sneiders@zabbix.com> | 2021-09-09 14:45:33 +0300 |
---|---|---|
committer | Eriks Sneiders <eriks.sneiders@zabbix.com> | 2021-09-09 14:48:12 +0300 |
commit | df64ac83039356360a2c8734eff642ba7f3cd77e (patch) | |
tree | 2bc32ab516f1746870a2a74d57e99afe866abc9a /build-backend.xml | |
parent | 2975a67b11c15f8bd8c8baa082c171c5310a2663 (diff) |
...G...... [DEV-1942] updated unit tests in Zabbix agent 2
* commit '73785eba8228568714cc4906e71e2e694e58dc63':
...G...... [DEV-1942] updated unit tests in Zabbix agent 2 for release 5.0
...G...... [DEV-1942] updated unit tests and added to build-backend.xml for Zabbix agent 2
(cherry picked from commit cbf5aa976a73bdbac61fee66cd0f39fe0d8c8f74)
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..75707929dc3 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> |