mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
Enforce TAP output from cmocka based unit tests
This commit is contained in:
@@ -4,6 +4,8 @@ PATH="@ATFBIN@:${PATH}"
|
|||||||
export PATH
|
export PATH
|
||||||
ATFRUN=`command -v atf-run 2>/dev/null`
|
ATFRUN=`command -v atf-run 2>/dev/null`
|
||||||
KYUA=`command -v kyua 2>/dev/null`
|
KYUA=`command -v kyua 2>/dev/null`
|
||||||
|
CMOCKA_MESSAGE_OUTPUT=TAP
|
||||||
|
export CMOCKA_MESSAGE_OUTPUT
|
||||||
|
|
||||||
status=0
|
status=0
|
||||||
if [ -n "@UNITTESTS@" -a -x "$ATFRUN" -a -f Atffile ]
|
if [ -n "@UNITTESTS@" -a -x "$ATFRUN" -a -f Atffile ]
|
||||||
|
Reference in New Issue
Block a user