mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-18 03:18:53 -04:00
capture more information from unit tests
- preserve kyua results database when using kyua
This commit is contained in:
parent
c54e379267
commit
81c23fecda
1 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ if [ -n "@UNITTESTS@" -a -x "$ATFRUN" -a -f Atffile ]
|
|||
then
|
||||
echo "S:unit:`date`"
|
||||
echo "T:unit:1:A"
|
||||
echo "I: unit tests"
|
||||
echo "I: unit tests (using atf-run)"
|
||||
atf-run > atf.out
|
||||
status=$?
|
||||
|
||||
|
|
@ -29,11 +29,11 @@ elif [ -n "@UNITTESTS@" -a -x "$KYUA" -a -f Kyuafile ]
|
|||
then
|
||||
echo "S:unit:`date`"
|
||||
echo "T:unit:1:A"
|
||||
echo "I: unit tests"
|
||||
kyua --logfile kyua.log test
|
||||
echo "I: unit tests (using kyua)"
|
||||
kyua --logfile kyua.log --loglevel debug test --results-file ${KYUA_RESULT:-NEW}
|
||||
status=$?
|
||||
|
||||
kyua report
|
||||
kyua report --results-file ${KYUA_RESULT:-LATEST}
|
||||
|
||||
if [ $status -eq 0 ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in a new issue