Adding new "test interfaces" to work with Kyua?

Alan Somers asomers at
Wed Nov 27 04:21:26 UTC 2013

It looks like you're interfacing to TAP through its command-line
interface.  Unfortunately, as your man page notes, that means that
"kyua list" can't list bundled tests, and thus it will treat them as a
single unit.

Within FreeBSD, most if not all of the TAP-based tests use Perl's
Prove module.  Have you considered writing a Prove backend for Kyua
instead of a TAP backend?  If you write it in Perl, it could have much
more intimate access to the tests.  Instead of interfacing through the
CLI, it could dynamically load the tests and interrogate them
directly.  That's the approach that I'm taking with the Python backend
that I've been working on.  I'll post more details about that in a
separate thread.


On Tue, Nov 26, 2013 at 9:29 AM, Julio Merino <julio at> wrote:
> On Mon, Nov 25, 2013 at 12:13 PM, Julio Merino <julio at> wrote:
>> Bleh.  Turns out that prove-based test programs do not return 1 on
>> failure.  Time to write a prove tester given that I have some spare
>> time this week :-P
> Alright!  I've committed a preliminary implementation of a tester for
> TAP.  See for the
> relevant commits.
> Testing welcome.
> --
> Julio Merino / @jmmv
> _______________________________________________
> freebsd-testing at mailing list
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe at"

More information about the freebsd-testing mailing list