[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 0/8] Convert avocado tests to normal Python unittests
From: |
Daniel P . Berrangé |
Subject: |
Re: [RFC PATCH 0/8] Convert avocado tests to normal Python unittests |
Date: |
Fri, 12 Jul 2024 08:07:01 +0100 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Thu, Jul 11, 2024 at 07:44:39PM +0200, Thomas Huth wrote:
> On 11/07/2024 16.39, Fabiano Rosas wrote:
> > Thomas Huth <thuth@redhat.com> writes:
> ...
> > > Things that need further attention though:
> > >
> > > - All tests that use the LinuxTest / LinuxDistro classes (e.g. based
> > > on cloud-init images) really depend on the Avocado framework,
> > > thus we'd need a solution for those if we want to continue with
> > > this approach
> > >
> > > - Same for all tests that require the LinuxSSHMixIn class - we'd
> > > need to provide a solution for ssh-based tests, too.
> >
> > These two seem to be dependent mostly avocado/utils only. Those could
> > still be used without the whole framework, no? Say we keep importing
> > avocado.utils, but run everything from meson, would that make sense?
>
> Yes ... maybe ... I can give it a try to see whether that works.
We only import about 8 modules from avocado.utils. There are probably a
few more indirectly used, but worst case we just clone the bits we need
into the QEMU tree.
With 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 :|
Re: [RFC PATCH 0/8] Convert avocado tests to normal Python unittests, John Snow, 2024/07/16
Re: [RFC PATCH 0/8] Convert avocado tests to normal Python unittests, Thomas Huth, 2024/07/17
Re: [RFC PATCH 0/8] Convert avocado tests to normal Python unittests, Paolo Bonzini, 2024/07/17
Re: [RFC PATCH 0/8] Convert avocado tests to normal Python unittests, Thomas Huth, 2024/07/17