Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 21:21:23 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Julio Merino <julio@meroh.net>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: Adding new "test interfaces" to work with Kyua?
Message-ID:  <CAOtMX2hHL-d5S_tAv9MurdKUeDsQKmR7meYs0pDMO5B517i_1w@mail.gmail.com>
In-Reply-To: <CADyfeQXOLLtWcbxHa6GzzPGx9epOHq69DXo0Nwo6PzkZc5EvUg@mail.gmail.com>
References:  <82E5F5E2-EA2C-46D2-9068-C419A834686C@gmail.com> <CADyfeQUaX4J1ycPhc=79P1fnfQh8E-UO349OzSL50KCJZtbOFw@mail.gmail.com> <751B8D9F-9A1B-46B5-80F8-CB9E44F98BFC@gmail.com> <CADyfeQWO=VVDzSVRoaocWz2sV4PQAiXoESo2_KbDExyTQ1Ztyw@mail.gmail.com> <CADyfeQXOLLtWcbxHa6GzzPGx9epOHq69DXo0Nwo6PzkZc5EvUg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-Alan

On Tue, Nov 26, 2013 at 9:29 AM, Julio Merino <julio@meroh.net> wrote:
> On Mon, Nov 25, 2013 at 12:13 PM, Julio Merino <julio@meroh.net> 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 https://code.google.com/p/kyua/issues/detail?id=74 for the
> relevant commits.
>
> Testing welcome.
>
> --
> Julio Merino / @jmmv
> _______________________________________________
> freebsd-testing@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hHL-d5S_tAv9MurdKUeDsQKmR7meYs0pDMO5B517i_1w>