Received: by 2002:a17:505:8d87:b0:1be9:327d:8ee3 with SMTP id ri7csp428424njc; Fri, 19 Jul 2024 05:49:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWMFGClEDVebRlozcB04Z9UYF2on1Z7nJnFiVP1mGrYU9om1zB47vWEHJSg9J3FmbhbAEckWEaWdihaodpeXEErRGadJ13R X-Google-Smtp-Source: AGHT+IF6mpd9cq4yZuHv3Sd0UadGvdI0gDRbMAnZDRe4u0qmngzV1zHpneG2O/xw+SFaOxZcZ0Ky X-Received: by 2002:ac8:5952:0:b0:447:ef14:70eb with SMTP id d75a77b69052e-44f96a0b337mr48880941cf.21.1721393375660; Fri, 19 Jul 2024 05:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721393375; cv=none; d=google.com; s=arc-20160816; b=i1C9o1bBJSX7sA5Hloa+mH/oTb/bNbt/PoloS2/M61DJbhXxFXSwRdDcUlJjqmWzQl PbohMSKCFTeu3iscae3+ZtPOfMlPapICBcNJ0zUZumKN9M5qBQbiKeUCFX3TH7EzS59G 4OEE02fVx0LK4mDvQaYYhYNQr7jVcnU5/nqjsXXTtqTzQc5c20Zl+dJuw9OnFsQoIDZ/ 59xY4yaT6Uviz8TsX2Lsui2zyTIqu9CzMGI1l9Lt0aiLHWlrZSvNUbmPB9/V75R7TrNi ogEJ3rA1mcf/S5wjiX2ViTSqkx9XiZ1lrYqnU9+S3ZCcSgjXYcUfWXEAmcXid48D7an/ DQNg== 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 :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=12Qp/2ER8EjZr8LOKJi2Vxaijc5jzhaqGy/vUVytwPM=; fh=Uha9b+yGL3kKBUFqwpoeOqfzNF72Jok2zX8WuTv5Rq0=; b=lQtKux7plE4/NCtBv62bAmdrnCVoD5hQG7R+hSqJep7n5WojNWCaXBrNmf1SVbEYf9 vIwTOa+DBT4L718oHsW7h2bwkVzRfGejDCbrY09eoXrMDgzErd+10y2l68Byvukz8jBp 1fOlGtVuMi4JftxBatHyGiPI7VYi5eeLidx1R75jRL15JgtdEj0U2VoeFKrPbSJCoAYN V1ViMyZ2BVM8Hr4P1LHx1+wXvdXxcMQ7aRD1c9sSyrucQw2lHGw7hWykBL8pO6WqUk4a GF8/tIhLNCFgwb7XB6eEAH6zN8UYuJwgX/Nj0JqwaJKQXDLah9VqPCkdguS9weSaJi+4 KYvQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vZnfXl7u; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=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 d75a77b69052e-44f9cdfcf14si15232111cf.544.2024.07.19.05.49.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jul 2024 05:49:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=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=vZnfXl7u; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=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 1sUn32-0005NG-K8; Fri, 19 Jul 2024 08:49:20 -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 1sUn31-0005MH-83 for qemu-devel@nongnu.org; Fri, 19 Jul 2024 08:49:19 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUn2z-00044z-OU for qemu-devel@nongnu.org; Fri, 19 Jul 2024 08:49:18 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-427d2cc1c4eso11660055e9.1 for ; Fri, 19 Jul 2024 05:49:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721393356; x=1721998156; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=12Qp/2ER8EjZr8LOKJi2Vxaijc5jzhaqGy/vUVytwPM=; b=vZnfXl7uDbd+7YzDT+jxul/11YHA4V9RpcFRviPwcjlXMGnYjSzl9dXe3nS8Ev3jwv +olo7OQAe49nYPXgMxVnuFm3xFk9H1qEMnnXdfaY7U9nBL3WLka08u8/IYuFGdFb/r+E j6rnHx4KtUUJIx8WS0Qd+WmubVjqQv6U0EaFLUfeBw3Pg8DZHCbqO7cVyZ//X9jn5Iqk 1tnZ8ysKn0uQRZaW9veks75Lb+vbd1ke5nqiroOHUPlnXkcKle9ocPCM895aIPbYH0Bi q6UCDVyiwm1Vogs+e6kES9SrDzee2x51kwxtFGxPyjHs4CiYOC9XTch242IsrX1wbWVJ 3cmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721393356; x=1721998156; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=12Qp/2ER8EjZr8LOKJi2Vxaijc5jzhaqGy/vUVytwPM=; b=htDm/vIr6jfUPyX+iYI3VSBhZJbSjahP8Qyirae0tF5XuBZjDvlcukyXEANaVUECE1 AjvY5cw9iTDQq2Af2HJivp2X1gBhxid3Egd0H4KALlqbd8FRj199RTYyco3cbUVoOvnR 6IvCtoY6Un4KjKDq1r7X5BapIHk3GEnRuspYswqOgiOBso5wBruX/o5+qgvfuU/EnDNw sPL5XBTNRt5KuaOklQkBsQCShCtzxWnyfmyCHSDad+VvOVfQdmp/2ro1GOwmA/29RKbg /gZMYY9KrcrQFYw5eJ+eyHWYqRzh7+FQqdW6rfb4si/gONghKizgXr83437MWQLpy7C1 v5Xw== X-Forwarded-Encrypted: i=1; AJvYcCU0pEfbu5c+RQtMd1EBujzl8/hsN5XuAzxH7XP/YhWCbBhXw2Wf6By0kwhIutocFVZ6L3RMBlLtFCuxqOcorOY6ber7I7k= X-Gm-Message-State: AOJu0Yw+46G40lR6oipjGeiYIuL23soOfye/I2ytOvUcgl1VSFelzpUw VRZCzUAm38t8NiynRlV8YbpikbmDxvacja8dVMyAaMErWxR3t7EG1JrqfQ2HgD0= X-Received: by 2002:a05:600c:45c8:b0:426:6389:94c4 with SMTP id 5b1f17b1804b1-427c2d0d669mr56330835e9.37.1721393355938; Fri, 19 Jul 2024 05:49:15 -0700 (PDT) Received: from [192.168.69.100] ([176.187.209.227]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427d693704dsm23542835e9.45.2024.07.19.05.49.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jul 2024 05:49:15 -0700 (PDT) Message-ID: <02b2eb32-abbc-481c-8b5d-e6b835d81005@linaro.org> Date: Fri, 19 Jul 2024 14:49:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] tests/avocado: Move LinuxTest related code into a separate file To: Thomas Huth , qemu-devel@nongnu.org Cc: Cleber Rosa , Wainer dos Santos Moschetta , Beraldo Leal , Pavel Dovgalyuk , Paolo Bonzini , Eric Auger , qemu-arm@nongnu.org References: <20240719095031.32814-1-thuth@redhat.com> Content-Language: en-US From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20240719095031.32814-1-thuth@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.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 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+alex.bennee=linaro.org@nongnu.org Sender: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: lx0NZjrvBJ/7 On 19/7/24 11:50, Thomas Huth wrote: > Only some few tests are using the LinuxTest class. Move the related > code into a separate file so that this does not pollute the main > namespace. > > Signed-off-by: Thomas Huth > --- > tests/avocado/avocado_qemu/__init__.py | 239 +--------------------- > tests/avocado/avocado_qemu/linuxtest.py | 253 ++++++++++++++++++++++++ > tests/avocado/boot_linux.py | 3 +- > tests/avocado/hotplug_blk.py | 2 +- > tests/avocado/hotplug_cpu.py | 2 +- > tests/avocado/intel_iommu.py | 2 +- > tests/avocado/replay_linux.py | 2 +- > tests/avocado/smmu.py | 3 +- > 8 files changed, 262 insertions(+), 244 deletions(-) > create mode 100644 tests/avocado/avocado_qemu/linuxtest.py Reviewed-by: Philippe Mathieu-Daudé