--- wikisrc/kyua.mdwn 2013/02/16 12:36:23 1.9 +++ wikisrc/kyua.mdwn 2016/03/17 02:32:16 1.10 @@ -176,24 +176,12 @@ Kyua, as a project, is made up of a vari ATF, because the ATF libraries are *not* being rewritten). All of these components exist in pkgsrc, and are: -* pkgsrc/devel/atf-libs: The C, C++ and POSIX shell libraries provided by - ATF. These are *NOT* meant to be replaced by Kyua. - * pkgsrc/devel/atf: The ATF tools, namely atf-run and atf-report. These are deprecated and this package should eventually disappear. -* pkgsrc/devel/kyua-testers: The Kyua testers, which provide the - `kyua-atf-tester` and `kyua-plain-tester` helper binaries. These - binaries implement the logic to execute test cases in an isolated manner - and to expose the test programs using a common and abstract command-line - interface. - -* pkgsrc/devel/kyua-cli: The Kyua command-line interface, which provides a +* pkgsrc/devel/kyua: The Kyua command-line interface, which provides a superset of the functionality of atf-run and atf-report. -* pkgsrc/devel/kyua-atf-compat: Drop-in replacements for atf-run and - atf-report that use kyua-cli in the backend. - # Running the NetBSD test suite There are two ways to run the NetBSD test suite with Kyua. The easy (or @@ -243,16 +231,13 @@ Using the native command-line interface the existing NetBSD test suite is not prepared for Kyua. Let's take a look at these steps. -To get started, install the Kyua packages: +To get started, install the Kyua package: - $ cd /usr/pkgsrc/devel/kyua-cli - $ make install && make clean - $ cd /usr/pkgsrc/devel/kyua-atf-compat - $ make install && make clean + $ cd /usr/pkgsrc/devel/kyua + $ make install clean Once this is done, configure Kyua in the same way ATF is configured "out of -the box" in NetBSD. Create the /usr/pkg/etc/kyua/kyua.conf file with these -contents: +the box" in NetBSD. Create a /usr/pkg/etc/kyua/kyua.conf file containing: syntax('config', 1) unprivileged_user = '_tests'