Message ID | 20210924183029.v2.21.I45633114ca976ec492b947ac8ceb05a257485d9f@changeid |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=oBB6oLku; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4HGVMg60Gwz9t4b for <incoming@patchwork.ozlabs.org>; Sat, 25 Sep 2021 10:36:47 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 588F28356B; Sat, 25 Sep 2021 02:36:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="oBB6oLku"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6C1F38350C; Sat, 25 Sep 2021 02:32:22 +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=-3.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_PASS, T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 7CB538350A for <u-boot@lists.denx.de>; Sat, 25 Sep 2021 02:31:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oi1-x22e.google.com with SMTP id s24so14264540oij.8 for <u-boot@lists.denx.de>; Fri, 24 Sep 2021 17:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3arBi1ifFKplwlS45UafiJ4JYb30NvF0jbB/yG+0SZ4=; b=oBB6oLkuErUloRbgpLI/J/mfc0TJv599w5skP37Nn6tIkkoL4IfHAHpl0MLaleaS5V kUKhnKxakOSPQ3rjRn3Roii3nvpzhWcm5NEwxzqdZIgHE32cg8+Qz4U3fM7UR9lo6U08 UKH9j/UbYpX2Ba1puOffzqh39AUeWZ8Qsoc9g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3arBi1ifFKplwlS45UafiJ4JYb30NvF0jbB/yG+0SZ4=; b=JZCF4As6LD8pg8mAwd/YqNraa9mSTR4SuBUy26rLNGj5aFWjnKN7dBizQuREcmtsF1 h7DcVj/PyHCxlurO+wKWMa8qqw7unkFE7qlTD1DxRhg1Hg6e3zOD8o6zSQnnQzqZQiy9 /kSrjQ5npDGuPS4OhK+a5ViLgw5Z22QRErCUpq+8ehQ/4lFQPWZv31cJurVokJeXQetE vn3rFKwDTHVmsEltbjfs+i6vR2ilLC4BVPSxc66UMwR8A+UT8keCrzPIg6f1R1GW2gHM o/0DMh1kio/CrWDCWfDgI64YugwR7ToEta+CPog3M+0I2PpzLzDmap8UbyEDgW6oerzG 7W5Q== X-Gm-Message-State: AOAM531R3vhccBzIKXOBWYhXKsgF+e32UEssb+dtt5TVYvusTJYi6/K1 EWM3ViJHr3+k3k3SJ+hwbQkltmx7mLsZag== X-Google-Smtp-Source: ABdhPJyf16KPtlI9PKz/qhUCcxBvP2aqh0VceJY9Fb4Ptmk9ZtAxPP0+tBvINEk/9EYbw5AbN0UHpQ== X-Received: by 2002:aca:2319:: with SMTP id e25mr3713242oie.175.1632529880720; Fri, 24 Sep 2021 17:31:20 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id y83sm2491462oia.47.2021.09.24.17.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 17:31:20 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Bin Meng <bmeng.cn@gmail.com>, Christian Melki <christian.melki@t2data.com>, Tom Rini <trini@konsulko.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Simon Glass <sjg@chromium.org> Subject: [PATCH v2 21/39] binman: Allow timeout to occur in the image or its section Date: Fri, 24 Sep 2021 18:30:37 -0600 Message-Id: <20210924183029.v2.21.I45633114ca976ec492b947ac8ceb05a257485d9f@changeid> X-Mailer: git-send-email 2.33.0.685.g46640cef36-goog In-Reply-To: <20210925003055.759305-1-sjg@chromium.org> References: <20210925003055.759305-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi: Improvements to U-Boot running on top of UEFI
|
expand
|
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index cea3ebf2b9f..8199a4fc7e0 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -4565,8 +4565,7 @@ class TestFunctional(unittest.TestCase): with self.assertRaises(ValueError) as e: self._DoTestFile('202_section_timeout.dts', test_section_timeout=True) - self.assertIn("Node '/binman/section@0': Timed out obtaining contents", - str(e.exception)) + self.assertIn("Timed out obtaining contents", str(e.exception)) def testTiming(self): """Test output of timing information"""
At present testThreadTimeout() assumes that the expected timeout happens first when building the section, but it can just as easily happen at the top-level image. Update the test to cope with both. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) tools/binman/ftest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)