[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvir-list
Subject:    Re: [PATCH 08/35] vrishtest: Prepare for simpler testing - echo tests
From:       Ján Tomko <jtomko () redhat ! com>
Date:       2024-03-28 13:34:51
Message-ID: ZgVx-8JGSQKnBMAK () fedora
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


s/vrishtest/virshtest/ in the summary

Jano

On a Thursday in 2024, Peter Krempa wrote:
>Embedding the expected output in a C source code makes it very hard to
>extend tests. In order to be able to test the outputs against data in
>files on disk we need better naming of the tests themselves.
>
>Use virTestCounterNext/Reset with appropriate tags to give reasonable
>names to the 'virsh echo' tests' and prepare the 'DO_TEST' macro for
>wider use.
>
>Signed-off-by: Peter Krempa <pkrempa@redhat.com>
>---
> tests/virshtest.c | 99 +++++++++++++++++++++--------------------------
> 1 file changed, 44 insertions(+), 55 deletions(-)
>

["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic