mirror of https://github.com/xemu-project/xemu.git
tests/avocado: Remove unused QemuUserTest class
The single test that was using the QemuUserTest class has been converted to the functional test framework. This class is now unused, remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240822104238.75045-4-philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20240830133841.142644-40-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
34917ead72
commit
b308ac9cf6
|
@ -384,23 +384,6 @@ class QemuSystemTest(QemuBaseTest):
|
||||||
super().tearDown()
|
super().tearDown()
|
||||||
|
|
||||||
|
|
||||||
class QemuUserTest(QemuBaseTest):
|
|
||||||
"""Facilitates user-mode emulation tests."""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
self._ldpath = []
|
|
||||||
super().setUp('qemu-')
|
|
||||||
|
|
||||||
def add_ldpath(self, ldpath):
|
|
||||||
self._ldpath.append(os.path.abspath(ldpath))
|
|
||||||
|
|
||||||
def run(self, bin_path, args=[]):
|
|
||||||
qemu_args = " ".join(["-L %s" % ldpath for ldpath in self._ldpath])
|
|
||||||
bin_args = " ".join(args)
|
|
||||||
return process.run("%s %s %s %s" % (self.qemu_bin, qemu_args,
|
|
||||||
bin_path, bin_args))
|
|
||||||
|
|
||||||
|
|
||||||
class LinuxSSHMixIn:
|
class LinuxSSHMixIn:
|
||||||
"""Contains utility methods for interacting with a guest via SSH."""
|
"""Contains utility methods for interacting with a guest via SSH."""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue