From patchwork Thu Aug 22 10:42:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 821326 Delivered-To: patch@linaro.org Received: by 2002:adf:e98a:0:b0:367:895a:4699 with SMTP id h10csp1113072wrm; Thu, 22 Aug 2024 03:43:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXeGKjdXp6Shfx4gfN/cv11ixA4O+ehHlJWHp+tAJbwBXHOCcjbCWjvAssAEdSNOApGDyVAhQ==@linaro.org X-Google-Smtp-Source: AGHT+IE6f9rLkbdlTVDcDqWf4tw2LCgKJpNJpoNH86LGV/mpM5n3DgaIU2TnDe9x1E8cNsCITbA6 X-Received: by 2002:a05:6214:3c9d:b0:6bf:9aa5:c3b0 with SMTP id 6a1803df08f44-6c155dbb500mr63258326d6.33.1724323420959; Thu, 22 Aug 2024 03:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724323420; cv=none; d=google.com; s=arc-20160816; b=q4ykUgarOwe/MoeuzMN462biS+1Hzs9Vy9gmmRVkKEa+H1nFNYN+RCkcKnHmuD3CK6 IH12q36pyE4+fJgixyfT+mJI7Tl9y19Kq0FxjrqQWpOskNmqY1WVmhzbUGgXPpZT7vyY w4tg0L/94gYNADs5OzVy7yBImck0nk+kp18ggLevrYczsDCxyAm3hpgc/S522ZK36aAx viJCthY9zXwou50wfJRSX9Y9M5ASvLzojRlEVp/7JGwHH0Lb/BAn/mjRFRhypDiWwtcL 1nboGFS/1KZh5Vfy4A56mJ8OfmqoLOSLOrn5ebexaEEYKLaRqqDArugPf7uumwY8hlep HsnQ== 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=a4qja5+51Vsbcc1haEmPRmBh3XPr17SQDcwk8vlpqiY=; fh=JWMo7U+4BCk7ne4VdTRvgfD9sI/rlhCmhpfgFUNOsTU=; b=ru1UQ1MhdwQX8HyIwhh+jTiSF51t7YIOzeshc1ds/KeDyuVkRIuEcjx8bc/SV6ARAE uVPiAJnSAqO7BF0VMcRBKpCk6g1JAsi9vG344n+e6uaaXOz8PENP7BXwrsE3+YtzAL1q NAFsqq9rYQXyrPEqFVBThTt/XVwAoU6wTiFs6lIx+H4Qkblf0OvZwiCt+ik9ZjmjbVcx zDZaFt4SLshGxKNmhipYRpvGXD7oZzyXEo+h9J958JZpowimy5Fk+D+/dWXBQh58gi44 ftX5/biqLZeeTG+UZLQpQnk8QSasFDTV/2Y+I/eBsWEq5ZaoPEg+5nj/ITPGrQsXeMD5 Cdug==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sAzIgTYk; 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=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6c162dd805dsi14799626d6.393.2024.08.22.03.43.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Aug 2024 03:43:40 -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=@linaro.org header.s=google header.b=sAzIgTYk; 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=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sh5HY-0003hS-Nh; Thu, 22 Aug 2024 06:43:08 -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 1sh5HW-0003gy-VN for qemu-devel@nongnu.org; Thu, 22 Aug 2024 06:43:06 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sh5HV-0001AN-EV for qemu-devel@nongnu.org; Thu, 22 Aug 2024 06:43:06 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3717de33d58so323933f8f.1 for ; Thu, 22 Aug 2024 03:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724323383; x=1724928183; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a4qja5+51Vsbcc1haEmPRmBh3XPr17SQDcwk8vlpqiY=; b=sAzIgTYkYfg1N4hVgk9wCtZqeTLjO1Asu1nuJkLFr/vWsn9txJZ39rKP24F+suTqdo 4im3GitPSoSM8430wHBO84L0wbSiKKbgX0zAyhoeKffBV8n/mxchJ+eHRWBRyfGaMjhN yHDAlDyMfA390NLdUn97NA9zwW3SwF09fqWQQn/yoO8vB19SLh36s/MXdqFiTvTKorkN gMVAm+GTELDjeB+Nc5GnjO9Dvj5XaxdDHZS6Aqj4K6Mc9VKAzkZI4IgR56XrtILGKT6c ew4jhTCrcAsH/4OUG/lruarYf6eV+uplCvKr6YIQ03CLS/tsTEEFbMqoiEGwatUMDnoZ xZSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724323383; x=1724928183; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a4qja5+51Vsbcc1haEmPRmBh3XPr17SQDcwk8vlpqiY=; b=Hn3LB451cOf8kahrR02/FFMcrEbmipf9sjq3yv6hsxsoa9wAOp5IZlERKG1F3MUk7Y GK9n8zMe3Ucl/N9Me/RV8Y7JK+CCVSMu1Rd8inA/2lrnKJLWkerJlPKtrVhwDoB9b5sb m9QUb7E/ediOeRYpxZQxRPpKPZF0zs7XGabnb9/QJCl7hqLnwGSTYRx5G1bSdKc4fz5U kF+adbzfSHyFaqBqSWLeuOQT9Rufolea1nZT0EtL1pJI36XKshGg0g42Uus1Z4xDzrbb UWf+eEV0ftK3DRh8gFi03tA/AjNsjpb3ynyzE0MJT6Br0Id4tTy19S2LgVtLMa78OL2+ a/ag== X-Gm-Message-State: AOJu0YzV7S7udMtMgluQPJ+Lui7M755fZIF7brMt7V+QI15/R0CS5mNa neIrAl7hbB8227eqHcy2bhmZ1pYAN5D8F1nlPvJXV30lo/lmo2rhuWccoiNsOZ+zXuIxep8fyIo I X-Received: by 2002:a05:6000:b09:b0:371:937a:326c with SMTP id ffacd0b85a97d-372fd73184amr2755660f8f.57.1724323382727; Thu, 22 Aug 2024 03:43:02 -0700 (PDT) Received: from m1x-phil.lan ([176.187.206.153]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3730821a92csm1344234f8f.93.2024.08.22.03.43.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 22 Aug 2024 03:43:02 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Wainer dos Santos Moschetta , Cleber Rosa , Thomas Huth , =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-Daud=C3=A9?= , Beraldo Leal Subject: [PATCH 3/3] tests/avocado: Remove unused QemuUserTest class Date: Thu, 22 Aug 2024 12:42:38 +0200 Message-ID: <20240822104238.75045-4-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240822104238.75045-1-philmd@linaro.org> References: <20240822104238.75045-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=philmd@linaro.org; helo=mail-wr1-x434.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 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é Reviewed-by: Thomas Huth --- tests/avocado/avocado_qemu/__init__.py | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py index 0d57addfea..0e4ecea7a0 100644 --- a/tests/avocado/avocado_qemu/__init__.py +++ b/tests/avocado/avocado_qemu/__init__.py @@ -17,7 +17,7 @@ import uuid import avocado -from avocado.utils import process, ssh +from avocado.utils import ssh from avocado.utils.path import find_command from qemu.machine import QEMUMachine @@ -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."""