Re: [libosinfo] test-isodetect: Iterate over all isodata/ subdirs

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

 



On Mon, Feb 19, 2018 at 10:12:10AM +0100, Christophe Fergeau wrote:
> When adding support for a new vendor, test-isodetect.c needs to be
> updated to list it, which is too easy to forget.
> This commit iterates over subdirs in tests/isodata/ and uses these as
> the vendors to test for. This means no further modification of
> test-isodetect.c is needed when adding a new vendor.
> 
> Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>
> ---
>  tests/test-isodetect.c | 164 ++++++++++++++++---------------------------------
>  1 file changed, 52 insertions(+), 112 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
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 :|

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




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

  Powered by Linux