From: Philippe Mathieu-Daudé Date: Fri, 30 Aug 2024 13:38:33 +0000 (+0200) Subject: tests/avocado: Remove unused QemuUserTest class X-Git-Tag: v9.2.0-rc0~104^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b308ac9cf6c351513e404e56b09eca5a2b37aa93;p=thirdparty%2Fqemu.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é Message-ID: <20240822104238.75045-4-philmd@linaro.org> Reviewed-by: Thomas Huth Message-ID: <20240830133841.142644-40-thuth@redhat.com> Signed-off-by: Thomas Huth --- diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py index ef935614cf2..0e4ecea7a0d 100644 --- a/tests/avocado/avocado_qemu/__init__.py +++ b/tests/avocado/avocado_qemu/__init__.py @@ -384,23 +384,6 @@ class QemuSystemTest(QemuBaseTest): 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: """Contains utility methods for interacting with a guest via SSH."""