2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Enforce TAP output from cmocka based unit tests

This commit is contained in:
Ondřej Surý
2018-06-04 13:01:42 +02:00
committed by Ondřej Surý
parent 07910f0153
commit bd2ddec58f

View File

@@ -4,6 +4,8 @@ PATH="@ATFBIN@:${PATH}"
export PATH
ATFRUN=`command -v atf-run 2>/dev/null`
KYUA=`command -v kyua 2>/dev/null`
CMOCKA_MESSAGE_OUTPUT=TAP
export CMOCKA_MESSAGE_OUTPUT
status=0
if [ -n "@UNITTESTS@" -a -x "$ATFRUN" -a -f Atffile ]