From f9effb95d4f758fa5c586ea2c4ed7fa1b908eb4a Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Wed, 8 Aug 2012 00:23:01 +0200 Subject: [rt25901_atf] Atffile/compilation cleanup, ATF description updated --- doc/devel/atf.dox | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'doc/devel') diff --git a/doc/devel/atf.dox b/doc/devel/atf.dox index 3a1bace2..b9b305a5 100644 --- a/doc/devel/atf.dox +++ b/doc/devel/atf.dox @@ -6,14 +6,32 @@ @section testsAtf ATF unit-tests ATF stands for Automated Test Framework, and is the framework used for -all unit-tests.n ISC DHCP. To build the unit-tests, use the following: +unit-tests in ISC DHCP and BIND9. ATF can be downloaded from +http://code.google.com/p/kyua/wiki/ATF + +The ATF successor, called Kyua, is being developed. As of August 2012, +the latest available release of Kyua is 0.5. It claims to offer +feature parity with ATF. Migration to Kyua may be planned some time in +the future. Such upgrade should be done in coordination with BIND. The +latest tested version of ATF that DHCP's unittests were run against is +0.15. + +To build the unit-tests, use the following: @verbatim -./configure --enable-atf +./configure --with-atf make make check @endverbatim +The following syntax is supported as well: +@verbatim +./configure --with-atf=/path/to/your/atf/install +@endverbatim + +but it seems to have troubles detecting ATF installation, at least +with ATF 0.14 and Mac OS X 10.6.8. + Each code directory (e.g. server/) that has unit-tests has a sub-directory named tests (e.g. server/tests). You can execute "make check" in that directory to run specific subset of tests. -- cgit v1.2.1