From patchwork Wed Sep 4 10:39:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 825308 Delivered-To: patch@linaro.org Received: by 2002:adf:e246:0:b0:367:895a:4699 with SMTP id bl6csp99475wrb; Wed, 4 Sep 2024 03:46:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWx0+VqFb7KKzkrltci8CAH5dy/vxcL4wS2DvmhOz08zQzZL/P4aoBmKJVXn2ZukyWMU7uDHw==@linaro.org X-Google-Smtp-Source: AGHT+IEp21KAnc87BZ8Uev8mNZDLaLmPAn/TMTQXye0Kc0e6VDBWR1CWkJxoUAhZQgr+1COdE4ed X-Received: by 2002:a05:622a:5c89:b0:456:4615:3718 with SMTP id d75a77b69052e-4567f6d6a00mr262274781cf.55.1725446773513; Wed, 04 Sep 2024 03:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725446773; cv=none; d=google.com; s=arc-20160816; b=gpLHqucI+If9IeKlbVLKrukArPMT+StlrzNOQpdOKQ8Qaos157noFFqEGKrmGGNVT9 EbtOJZpmSA/odYbceC3VCeUsbLglIzXbFEsv5prva79kBZ+Yx/QwUvcKEMTUsgMJA92R eqLyNQHteoXTemmlCGUeTAOaGnjnBpgiSaVS3A6X92VUxnJibMFz7rpIHuQYVp9QwHQ7 nlPxE8udN15YDe+zlsiZQeOpKrRylPJfZJHcAKc751lwz/4WVJhxAYq8UFrD6TfrFFYq 045iY6cJDFfhp7u3zXaCfMVXI0iWPqcC1MdbDmpbG8J3JRbG8WW276z6GV9PdVADdDzi ybfQ== 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=q+JbqVJUyDkMbxuDOXndQJEBnHIuZp9u4q8ONLAX6eU=; fh=GA6tJk/WKXFNHREIjl3CVQtm7xJ+c0jqwR7aN/BFkLY=; b=ELwMhawnzx6+ZWOHxYpSpatuvU/qrxziRh/r6VMYQGUoDrTcmnZ8iTq2F9ah/I4c+j Wdnc0q3x3XTTxu/COUE2cW7uiKy1IB81eM/eUZw4heaw0QLkEq95x9lFzs+OrtoSjWAF wI/Sop14ujYQqVhBrWPkgAZA+vzqbFYfK7Yih0Z4Onvf9USmGV0w290QkEKmRfd0q4Wb NxTdpL6u/o5RSHj38LkTvpHoLUok4CsniaiD138IwRQwenIPxkX/3OQZvY3wComKoxp+ LtCmfeHOT9pKCkKWF2Zy8YuNFfbfsmHiEj4wi/poe5odqFSGCsxmUSsBldEqbX6OvNf7 NA9A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b5myingN; 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 d75a77b69052e-45682e03df6si136726231cf.666.2024.09.04.03.46.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Sep 2024 03:46:13 -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=b5myingN; 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 1slnRs-0007y8-Cu; Wed, 04 Sep 2024 06:41:16 -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 1slnRp-0007hD-PE for qemu-devel@nongnu.org; Wed, 04 Sep 2024 06:41:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slnRn-0000Vc-3r for qemu-devel@nongnu.org; Wed, 04 Sep 2024 06:41:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725446470; 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=q+JbqVJUyDkMbxuDOXndQJEBnHIuZp9u4q8ONLAX6eU=; b=b5myingNqMgXd9Rfdqgbj2iHR5NImGUXCO681ewf32wK04GPcuWHb078DhLZ3Hj67Y33Bb sh1HKBWUdeUW7m8bG+tq9khV9pFwfXq18iNg1Mub63yHH5uSwthKNBMylp9Oxy/A3h0W9I naY98Rbrv5D0W+DeLJIAeHU8kjpd128= Received: from mx-prod-mc-05.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-434-NoXeh1SFOxG4twpi9MGBGw-1; Wed, 04 Sep 2024 06:41:09 -0400 X-MC-Unique: NoXeh1SFOxG4twpi9MGBGw-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 3A19B195C272; Wed, 4 Sep 2024 10:41:08 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.194.48]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B16801955F44; Wed, 4 Sep 2024 10:41:05 +0000 (UTC) From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , Stefan Hajnoczi , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PULL 37/42] tests/avocado: Remove unused QemuUserTest class Date: Wed, 4 Sep 2024 12:39:12 +0200 Message-ID: <20240904103923.451847-38-thuth@redhat.com> In-Reply-To: <20240904103923.451847-1-thuth@redhat.com> References: <20240904103923.451847-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.142, 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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> Reviewed-by: Thomas Huth Message-ID: <20240830133841.142644-40-thuth@redhat.com> 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."""