From patchwork Tue Oct 8 12:08:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Goodbody X-Patchwork-Id: 833568 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp252760wrv; Tue, 8 Oct 2024 05:09:00 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU0tHPBqx8E45MTdeNCSNg7t+j6qq8QOZafFiTuPdDZ8CXf2cHfxMiGJe+yDI1pNIM07q4Mqg==@linaro.org X-Google-Smtp-Source: AGHT+IGSx3WJgPwRMsfD8sofLTrxn41/pJm4ETJAqMK9nIzGhGLLLLq9P8pVINcFdww99N2W28CU X-Received: by 2002:a05:6602:2c13:b0:82a:3552:6b26 with SMTP id ca18e2360f4ac-834f7d9568cmr1335255139f.15.1728389340254; Tue, 08 Oct 2024 05:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728389340; cv=none; d=google.com; s=arc-20240605; b=Iv72VQDe86w+sEtKs3AGWSVWWa/JcFXkPSAt2TyPOTkpF9frHSZF5QGD9PaTwGiuaC 8PfFp1QrnPf3QEUH20r/oW4MUkRNOyR+5wBL3Fot1eiTyklAW+1edYYUTT7mA+J1B//y 9PkW5SQGajNa5FhjPARSvE21MaUbJ9EC+RJGLblMCczdZHpqAoHgXJy6gUCLO7CvDJTY e37khVURKYqaoF8Y7N3Ow+JNKhDyd8WYAF4tJOmPdAGdfz7EsGpzdDSGMdK2dLCHRyQX PzvNuUd8/EFtiNtPDaFMj4RkTecfSrZTkIU3f6DeMiyEQ0ps/PUMSBNKJp5Qwp9dXQqf d7kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=Zr/CauuaArXl5CsTfXcc4vDzyG5ZDQ+WptpvKfCO+kc=; fh=MzxgwtfWSpohQzaDnXpwiPXEnm3V+6S8eYJCIuyXUus=; b=b3Uvhfqk7CTiWEj3nXV5DU2EOiP7Qr0IFtFKr7s3idcKDPRkWYoAirJcBoYSwXSjBE tGTCNoHkFS1oHbYlOEB8DT8cTLiadQ21WxXaM6eb5is1HZ2b3vOEuSGBZgakZcKA4Pmi 2AMYx2vHXIy/LkVddsuD2B7hOG+Hbrrq3gDLuxyeNwEDFDdhgQBA3HL1RhtMwykFlZ1Y 0t6OxldRYlUihFf6Otv0LEE4azFqfmNdMd+SAd8br0TT0+ZflfrzsLLnREAB8vZoVA9m jNu3yzINqNPChGbjvd2rOxBfZa4mlSquWWmSsrq1qhIfpA4jYsZd87HM8gyLXQd47fUQ HTAA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lv/evRpI"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 8926c6da1cb9f-4db80b8967asi2892578173.87.2024.10.08.05.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 05:09:00 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lv/evRpI"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BEBA688CC9; Tue, 8 Oct 2024 14:08:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="lv/evRpI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D3F1788B63; Tue, 8 Oct 2024 14:08:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B22B088CC9 for ; Tue, 8 Oct 2024 14:08:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andrew.goodbody@linaro.org Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5c5bca59416so7542431a12.1 for ; Tue, 08 Oct 2024 05:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728389334; x=1728994134; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Zr/CauuaArXl5CsTfXcc4vDzyG5ZDQ+WptpvKfCO+kc=; b=lv/evRpI2F7jHNiEs2zmNbhjQVYAb6/V/udCPG8elplNhdyXP9/O21N36y8u8EYCz3 EEv/zOzPEreLnAYgBGCVb7Ww0OjmTf2XwAr3PAUUZYcsVACIRLouCQEtyFDrifdRQXXQ kMJdaIpoZB7GVkkIUENFfWMyO3VROGImL0JHSDWApZces5pvm6Yq0VGoOamW9jO2YUFn 6zd6G7IYbiB8P0OsQ/mB1UKN7sT66U49XiEaJPtaOrPddCpSdcr2yDDYXHSAb85CrqVq /qZFdwB04/pimBIK/zFE3oXSL7v86iYFZdO5796kGc64IwWGE9fq8dlKTIFGloetvH/Q N9Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728389334; x=1728994134; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Zr/CauuaArXl5CsTfXcc4vDzyG5ZDQ+WptpvKfCO+kc=; b=qvpKRf1vvOaaNgvNL00641Vdrj0fbOdYHqammjLowRqPNKGiER8bMhF1ChzR/w+/GX FOZB5LZAAhUnQZO71Rwj6Z7XUoDuXeIwrOhTe07WgO7T+CVTdTYgIPVVWqjqfjfJ+UqC 70/KYO0fFGCH06XyCQKpCMaEEutFMuizUevnjIF6T/BqnxCxTA8RpkuQcqxwVBL8rmhp zdIzha+0nsQa9Dtf8oesAEPa3yMIgTSFy2H/rWMuWO01Xqw8hQJ4vIrgI+xtBSMOjOEB UBXPitCDoBgyq1yhIOxz69HyAGGFK1Z9sFVGHu0rIbNYLybUKm56bVNpUG7Q16hK6r7h x7ZA== X-Gm-Message-State: AOJu0YyZI6/Pa/u+7ntNRRaI0bWgmJIuCKqGWJu2vuU+7hh5HoRmwhfD a0M9o/8CjJUeeUxeM5e0E0FwCWgM/z39hnK36N1gJJDZ7yDt4EGxpKdbLRdNxjkP4Z2kLaEIA6d w X-Received: by 2002:a05:6402:358d:b0:5c8:957a:b1e5 with SMTP id 4fb4d7f45d1cf-5c8d2e43db4mr14879547a12.16.1728389334094; Tue, 08 Oct 2024 05:08:54 -0700 (PDT) Received: from artemis2.broadband ([2a0a:ef40:ef1:3601:ac07:1ef5:efd8:a6ed]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c8e05bc56asm4224749a12.45.2024.10.08.05.08.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 05:08:53 -0700 (PDT) From: Andrew Goodbody To: u-boot@lists.denx.de Cc: Andrew Goodbody , Bin Meng , Love Kumar , Tom Rini Subject: [PATCH] test: Fix skip check for sleep command test Date: Tue, 8 Oct 2024 13:08:13 +0100 Message-Id: <20241008120813.622408-1-andrew.goodbody@linaro.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean When the config option CMD_MISC was renamed to CMD_SLEEP the check in the test for the sleep command was not updated. Do that now. Fixes: 16060854095 ("cmd: Rename CMD_MISC to CMD_SLEEP") Signed-off-by: Andrew Goodbody Reviewed-by: Simon Glass --- test/py/tests/test_sleep.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/tests/test_sleep.py b/test/py/tests/test_sleep.py index 66a57434bf..8965fc3fea 100644 --- a/test/py/tests/test_sleep.py +++ b/test/py/tests/test_sleep.py @@ -27,7 +27,7 @@ def test_sleep(u_boot_console): if not sleep_skip: pytest.skip('sleep is not accurate') - if u_boot_console.config.buildconfig.get('config_cmd_misc', 'n') != 'y': + if u_boot_console.config.buildconfig.get('config_cmd_sleep', 'n') != 'y': pytest.skip('sleep command not supported') # 3s isn't too long, but is enough to cross a few second boundaries. @@ -42,7 +42,7 @@ def test_sleep(u_boot_console): # margin is hopefully enough to account for any system overhead. assert elapsed < (sleep_time + sleep_margin) -@pytest.mark.buildconfigspec("cmd_misc") +@pytest.mark.buildconfigspec("cmd_time") def test_time(u_boot_console): """Test the time command, and validate that it gives approximately the correct amount of command execution time."""