From patchwork Fri Aug 30 13:38:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 824003 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c1:0:b0:367:895a:4699 with SMTP id p1csp787236wrs; Fri, 30 Aug 2024 06:44:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW3oGJx2C4dOINhf8LZ2fKrVJPr3erj5kssgywZkbUa1yYvD5d1dvAtR2eZG5KhXyOsTKbXqQ==@linaro.org X-Google-Smtp-Source: AGHT+IHdWgWLmYanbuOYeHtA91vm5KYdrOdpoM10uZ0AjuiMsdK9cgs+pwEuO7IkeLmo0F6nFksv X-Received: by 2002:a05:6214:4281:b0:6c1:6b0e:8301 with SMTP id 6a1803df08f44-6c33e5e4d12mr70466556d6.5.1725025472537; Fri, 30 Aug 2024 06:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725025472; cv=none; d=google.com; s=arc-20160816; b=1J6O7e12hzv8kd2UhQZ99zVLAq6k9TgSzo/lSTtJ8fvTlcEGs1x2NylDnjgPp7mdsU M464TR/gauisVoV4o2spAH80SkvQjB9WgTsZC45u3WGVq0j11RZJM73quypTmjXTaZFb +AQZvzEeTk06vz3poH4n3w6EsysHBCbM5ZrasY05E2rNdDTiRs0aj9fXg3rY5qqI2a0a gu93so478ccNEWzCBrvjYSoFFpcG2aWikvhIIWJbalAXKkWChHTUA0KcNe8H4gQYMnLO 4Ftv5J9urXtgxZqKlKVZrJzwCc0nOdlk9u8OYwM5XsMOnq0YVwGEzBCF+t/qiFE5gTpZ 7FgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9p0RKHgP9JstxY3TIpZE+KxWklnhkhPn4c1qKdz/V94=; fh=P38goHIztZ4gXokF5rhgtVEB12E6Nfjaq+2lEOZYQsE=; b=gu10//iUUzlTHEWVxHbcV/FeXPrgSiFH7qNpucnn1BcIPzVXJ8GTwCSiGPC8PR8vjM phKuiqbk39tMEKyyI2+KTUQDj89jVZLILnR9t1kwNL0QhKLri9Jhf4IibO6n+KK2yL3A NIRdSZ7lWzWon5ajT5HHCU4p81zzcU1btTlYvBeTtLVDcPDZQzLxFl8nctJWbf+g0x6r ZnCpo0iYxACAI8jnW9kQDup6eF4Xn2T7ERmbNOkfY4927R0a9/uBCJASDuyPKJDMgYga WeH884R57Bc/aDxEQ/oImr1QT20stsCdqPQK75yN/86w4dq6PB3idFuc4TO12omGJghE lCqw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VJ9IngPI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6c340ca2213si39598056d6.320.2024.08.30.06.44.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Aug 2024 06:44:32 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VJ9IngPI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sk1sz-00048G-UT; Fri, 30 Aug 2024 09:41:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sk1sp-0003K4-Lu for qemu-devel@nongnu.org; Fri, 30 Aug 2024 09:41:52 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sk1sn-0005ey-70 for qemu-devel@nongnu.org; Fri, 30 Aug 2024 09:41:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725025304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9p0RKHgP9JstxY3TIpZE+KxWklnhkhPn4c1qKdz/V94=; b=VJ9IngPICBmMglYNFivhMoS/IkQG+460icCNGrTB8Cvl/Mjw/6coXWhRoQ/I1R436K5i9Z TdAiVzdb6TwGpDHLWPlNKWPFn7N/ALOqqxXBBNPEHKt6OKL9JSlij0O0TEoSuRvGDbkeXS pPAjl5FhGX5nd2oqeB9uHUU69nsdUm0= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-493-rztWY6CiN8GrrHs7SqQ4Gg-1; Fri, 30 Aug 2024 09:41:41 -0400 X-MC-Unique: rztWY6CiN8GrrHs7SqQ4Gg-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EE57D1955D47; Fri, 30 Aug 2024 13:41:39 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.192.7]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A259E3001FEF; Fri, 30 Aug 2024 13:41:36 +0000 (UTC) From: Thomas Huth To: qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , "Daniel P . Berrange" Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Ani Sinha , Richard Henderson , John Snow , Fabiano Rosas Subject: [PATCH v5 39/44] tests/avocado: Remove unused QemuUserTest class Date: Fri, 30 Aug 2024 15:38:33 +0200 Message-ID: <20240830133841.142644-40-thuth@redhat.com> In-Reply-To: <20240830133841.142644-1-thuth@redhat.com> References: <20240830133841.142644-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé 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> Signed-off-by: Thomas Huth --- tests/avocado/avocado_qemu/__init__.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py index ef935614cf..0e4ecea7a0 100644 --- a/tests/avocado/avocado_qemu/__init__.py +++ b/tests/avocado/avocado_qemu/__init__.py @@ -384,23 +384,6 @@ def tearDown(self): 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."""