[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-4.0 0/2] test: replace gtester with a TAP dr
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH for-4.0 0/2] test: replace gtester with a TAP driver |
Date: |
Fri, 30 Nov 2018 08:21:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2018-11-29 21:43, 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.
Hmm, do we really have to maintain our own version of a test runner now?
There's already some effort going on to use avocado in "make
check-acceptance" ... maybe we could use avocado as replacement for
gtester, too?
Thomas