From nobody Sat Mar 15 01:39:19 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739364135; cv=none; d=zohomail.com; s=zohoarc; b=Q8bao5FTAu2oGHnKpsFeG12sxoB3dYjYbA/NJ4AZvKBzIhl4qJ5TqTZ6P7vo1G+fcdOSN7zqTmlhKZvGtpZUBkpxJp16ku7A0gzbODCDLWoVQgqxiCyuPv6BF9o6KBJqrQ8Lu0Ei8ksQxpeNOqfc1yicVgzpZWM7K6E/KinXzaE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739364135; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=reXXm8X+zlZP2Y6yVzIRnVkTJgqUEMG013HELmRkQIw=; b=EhCm8n27UbKczbfz2C1o1AutXmaWP2IIatZGWk43r8x6kQECIya4S3fNlowtA/8lmY+sbNpIFtxCRtS/UXses/jCXvue/1gqVemG6HZqiHjinXaL5smgFyEOmUCi4VSFz30bIg2mKSblrLd+U3aO9beFX1OZe+ygcLQ4urSKeqs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 173936413545412.540323835536583; Wed, 12 Feb 2025 04:42:15 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tiC1t-0006fA-IU; Wed, 12 Feb 2025 07:39:49 -0500 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 1tiC0F-0003z5-1d for qemu-devel@nongnu.org; Wed, 12 Feb 2025 07:38:07 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tiC0A-0000fo-SW for qemu-devel@nongnu.org; Wed, 12 Feb 2025 07:38:06 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-43957634473so11228295e9.0 for ; Wed, 12 Feb 2025 04:37:46 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4395a06d22csm18950785e9.22.2025.02.12.04.37.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 12 Feb 2025 04:37:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739363865; x=1739968665; 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=reXXm8X+zlZP2Y6yVzIRnVkTJgqUEMG013HELmRkQIw=; b=xk6/5GDM4lginpeM5piaDxAyRepcRwowY6vEhprL7rMCybL3l67LLtVWfMDERPpUAF vFxngLZyE50IcQF1kplfVs802dYs2Ph9cwqFaDciDdF06La+SU1iaGj32wxQXw+OigFI 2nJdX6CandphjrsYNiGCn3RzGvZtdTIUKLmRLKqWXf4SrXUespjRwRHphqpy24Rzqazz jIy1J8luKqSzsZ9ONkk847de8YzI+oSH6I2oGNubPcMjeNPCXoR5a7mzia7xYj+Uvffj Ky7sIrybCSF1fdhfxjHqERckxgAQOl0M+25iusXZu04kGaabOtrNVVMwVyQ7Fk0G6fQy hYIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739363865; x=1739968665; 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=reXXm8X+zlZP2Y6yVzIRnVkTJgqUEMG013HELmRkQIw=; b=phHgyuoLcLAmWaAorwZIBi5oxG2pMdD3O06zjTCa0WsvG7q89cdyMsu+oAgy+y/MVQ ZfoDduU/3gcQPkolqqkjT86d7h7LY7tfw2MtZoKxdVb9Cc86XFBQFCHTqULFFHt4EmrC 5iV0zr+kU/eP8it6iAgwWdEup5aoqVxP291ejA2IJld3ja3oBBVmQbzgkMIWrezhd/2r Ye5xULCBztkwRWmTx27JZ+5YPdCCq3QcQ8WuXJN4YCwsZC6NO211r2cW3J7yMyAa9Am1 qiE6dg/7KDf3tYpe6p0AAPgE6Gh5/3VzQGpvKflMFz497Vv5kbiWBIxHPmiawYbxfzYM e6bQ== X-Gm-Message-State: AOJu0YxqISJQHmcL6T0GudmECt38vOb7j/qvzvM5LkZ4Du4YzOO7wbwI mNjoS6cTokgkyzGD0eAa0EnEC+EOPPdwhaBzJjdOgMrydKUinueSqpCFg+8czF5bmXT0NhuXzSt 7QGg= X-Gm-Gg: ASbGncs9yD00bz4/zHV2P3D1x5e7rSXNlpQQjvq8mL4o4YeFyb6AASJe25P+7YViT70 WhKDLwUKJc3DPjeMpiJiK3AiJGRUCEmwbLsJuoCd7QByeHMpiShhFocf4oPc9QBmtz7/WGrNoT4 LluYfl8cqUh8Z+cdtT7ALVgWojCmbB7NLgrOhF6mxg6M4JrUvOO5egYE7pKyWlDWwmqXCe5jdCg yq7+RWu+VdhYAAZSixLAvgNe5kVZEvQdPUVVEAD0dyd5hJXqQwf2CT1j965sTKeYbI3mm7I1qb5 C2eukS8lKwlP5o6lxMAYDH/p9aLxNo//uFh9nzwrqEb0qN09+Rsoe7didEg3p7rrOw== X-Google-Smtp-Source: AGHT+IGNj/HITUteCoHN8aCVTZehi9vpVUxD35L0fv/5K+vQo5EjfE5cTRM1tndY+7urZ2wdnX82Ow== X-Received: by 2002:a05:6000:d0a:b0:38d:d18d:262f with SMTP id ffacd0b85a97d-38dea2880a1mr2229435f8f.26.1739363865520; Wed, 12 Feb 2025 04:37:45 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, Thomas Huth , qemu-arm@nongnu.org, Richard Henderson , qemu-ppc@nongnu.org, Sai Pavan Boddu , Markus Armbruster , "Edgar E. Iglesias" , Alistair Francis , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v7 09/10] tests/functional: Remove sleep() kludges from microblaze tests Date: Wed, 12 Feb 2025 13:36:58 +0100 Message-ID: <20250212123659.52764-10-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250212123659.52764-1-philmd@linaro.org> References: <20250212123659.52764-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1739364136287019100 Commit f0ec14c78c4 ("tests/avocado: Fix console data loss") fixed QEMUMachine's problem with console, we don't need to use the sleep() kludges. Suggested-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20250206131052.30207-15-philmd@linaro.org> --- tests/functional/test_microblazeel_s3adsp1800.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/functional/test_microblazeel_s3adsp1800.py b/tests/funct= ional/test_microblazeel_s3adsp1800.py index 715ef3f79ac..60aab4a45e8 100755 --- a/tests/functional/test_microblazeel_s3adsp1800.py +++ b/tests/functional/test_microblazeel_s3adsp1800.py @@ -7,8 +7,7 @@ # This work is licensed under the terms of the GNU GPL, version 2 or # later. See the COPYING file in the top-level directory. =20 -import time -from qemu_test import exec_command, exec_command_and_wait_for_pattern +from qemu_test import exec_command_and_wait_for_pattern from qemu_test import QemuSystemTest, Asset from qemu_test import wait_for_console_pattern =20 @@ -31,9 +30,8 @@ def do_xmaton_le_test(self, machine): self.vm.add_args('-nic', f'user,tftp=3D{tftproot}') self.vm.launch() wait_for_console_pattern(self, 'QEMU Advent Calendar 2023') - time.sleep(0.1) - exec_command(self, 'root') - time.sleep(0.1) + wait_for_console_pattern(self, 'buildroot login:') + exec_command_and_wait_for_pattern(self, 'root', '#') exec_command_and_wait_for_pattern(self, 'tftp -g -r xmaton.png 10.0.2.2 ; md5sum xmaton.png', '821cd3cab8efd16ad6ee5acc3642a8ea') --=20 2.47.1