On Thu, Nov 29, 2018 at 02:43:03PM -0600, Eric Blake wrote: > On 11/29/18 11:45 AM, Paolo Bonzini wrote: > > gtester is deprecated by upstream glib and it does not support tests > > that call g_test_skip in some glib stable releases. > > > > glib suggests instead using Automake's TAP support. We do not support > > Automake, but we can copy the code that beautifies the TAP output and > > use it. I chose to use the Perl copy rather than the shell/awk one, > > in order to reuse Perl's TAP parsing package, but I'm open to suggestions > > about which language to use. > > I'm less familiar with the TAP protocol than I'd like to admit, but I did > find: > > https://blog.gtk.org/2018/07/11/news-from-glib-2-58/ > > which corroborates your claim that switching to Automake's TAP parser is > indeed a recommended approach to avoid the now-deprecated gtester.
FYI, for docs about the TAP protocol see: https://testanything.org/tap-specification.html I've always liked the TAP protocol approach to test output where you print an ok/not ok status for each piece of the test, as opposed to assertion style tests where you just abort at the first piece that fails. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|