Re: [spice 4/8] tests: migrate: fix relative qmp.py path

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

 




> 
> From: Victor Toso <me@xxxxxxxxxxxxxx>
> 
> Moved in qemu, see:
> 
>  | commit 8f8fd9edba4bd6768da2c8e2bea49ad5c16ced1a
>  | Author: Cleber Rosa <crosa@xxxxxxxxxx>
>  | Date:   Wed Feb 6 11:29:01 2019 -0500
>  |
>  |     Introduce a Python module structure
>  |
>  |     This is a simple move of Python code that wraps common QEMU
>  |     functionality, and are used by a number of different tests and
>  |     scripts.
>  |
>  |     By treating that code as a real Python module, we can more easily:
>  |      * reuse code
>  |      * have a proper place for the module's own unittests
>  |      * apply a more consistent style
>  |      * generate documentation
> 
> Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>
> ---
>  tests/migrate.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/migrate.py b/tests/migrate.py
> index f893b2ac..5cbc8218 100755
> --- a/tests/migrate.py
> +++ b/tests/migrate.py
> @@ -32,7 +32,7 @@ try:
>      import qmp
>  except:
>      import sys
> -    sys.path.append("../../qemu/QMP")
> +    sys.path.append("../../qemu/python/qemu/")
>      try:
>          import qmp
>      except:

On the comment there's


Dependencies:
either qmp in python path or running with spice and qemu side by side:
qemu/QMP/qmp.py
spice/tests/migrate.py


It seems a good idea to update it too.

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]