Re: [PATCH 08/35] vrishtest: Prepare for simpler testing - echo tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
tests/virshtest.c | 99 +++++++++++++++++++++--------------------------
1 file changed, 44 insertions(+), 55 deletions(-)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux