[Spice-devel] [spice v2 4/8] tests: migrate: fix relative qmp.py path

Victor Toso victortoso at redhat.com
Wed Sep 25 10:02:56 UTC 2019


From: Victor Toso <me at victortoso.com>

Moved in qemu, see:

 | commit 8f8fd9edba4bd6768da2c8e2bea49ad5c16ced1a
 | Author: Cleber Rosa <crosa at redhat.com>
 | 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 at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
---
 tests/migrate.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/migrate.py b/tests/migrate.py
index 1e15ffa7..c20d5e3a 100755
--- a/tests/migrate.py
+++ b/tests/migrate.py
@@ -8,7 +8,7 @@ VGA mode since it will just be SeaBIOS).
 
 Dependencies:
 either qmp in python path or running with spice and qemu side by side:
-qemu/QMP/qmp.py
+qemu/python/qemu/qmp.py
 spice/tests/migrate.py
 
 Will create two temporary unix sockets in /tmp
@@ -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:
-- 
2.21.0



More information about the Spice-devel mailing list