Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 823A8C433FE for ; Mon, 18 Oct 2021 18:14:06 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA19F6128E for ; Mon, 18 Oct 2021 18:14:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BA19F6128E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2E68382E1E; Mon, 18 Oct 2021 20:13:55 +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="QezRgUom"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AF9D882E7D; Mon, 18 Oct 2021 20:13:44 +0200 (CEST) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 8AB0E83195 for ; Mon, 18 Oct 2021 20:13:33 +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-io1-xd35.google.com with SMTP id o184so5364520iof.6 for ; Mon, 18 Oct 2021 11:13:33 -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=T0dGZ4n5EWRAMGoqKMnG4sYoddpZvoNdSLWi72p635A=; b=QezRgUom1i09StnyVwNOeVRuCIm7Z1NsO1I1AJxZ3VVNd3bT8AGNF6B8CoQDpIbNM9 gGnoMbC1zHTu7APgiDHpM/RbnetkaPt4FVl0OSJUXfIoq1RAhfskvIDbs/lRt2AqPjRK k6+tTku8iqX4qX3ux8CHM7Sg0xMZ1bB1iw8nQ= 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=T0dGZ4n5EWRAMGoqKMnG4sYoddpZvoNdSLWi72p635A=; b=CM0Syi7MV7biDDGNGCeTyo8quHcq6tGUXPwqeVyVP+2qTXcVwjLtnBSDW1j0RbPB95 eAshp3ngNFrRIxvNtUUgtlo2/QmkYdiEwLWJ7b8SHv7gAUVaVu1YTHsOEVGlkldiQMSQ 2cFV5bQJ+xKHbSDqxRepmhRCSc+ZoYYkOp2OmfMM5KTptRoQRlmpzea06b9mp71aW5R4 8qG571o6EFTpfK80qrpmN14q9xZQoGhe5ATq4XvI+nRqRb58GJeLk8pQazI30eommULW rIo9BiirM+M8pJV/OelqOYVMe6hLuqyBbjS5EP7fw/fEDreOQBhSiDED4rjQGF5vBYEz lhgQ== X-Gm-Message-State: AOAM531yqoZSbxtFXK5Dpq6OJOZBepIYhHKo2tn4KzD+xZymqg3lpCnr J2n6LeuaMwJd0+myx12mKWTL3/LxvLM2wg== X-Google-Smtp-Source: ABdhPJzi48f/RJHhGKzV4YkJvpnKx9dNHlnPtkSHyB5w5OWhdc7HNl2BKsWcy1xC18ILIi6OZoYvZQ== X-Received: by 2002:a5d:9493:: with SMTP id v19mr15403177ioj.34.1634580812083; Mon, 18 Oct 2021 11:13:32 -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 r24sm7118265ioa.5.2021.10.18.11.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 11:13:31 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Rasmus Villemoes , Heinrich Schuchardt , Wolfgang Denk , Tom Rini , Simon Glass Subject: [PATCH v8 1/8] binman: Allow timeout to occur in the image or its section Date: Mon, 18 Oct 2021 12:13:15 -0600 Message-Id: <20211018181322.1181847-2-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog In-Reply-To: <20211018181322.1181847-1-sjg@chromium.org> References: <20211018181322.1181847-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 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.2 at phobos.denx.de X-Virus-Status: Clean 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 --- (no changes since v1) tools/binman/ftest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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""" -- 2.33.0.1079.g6e70778dc9-goog