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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7B189C61DA4 for ; Sun, 19 Feb 2023 14:52:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5B25E857FD; Sun, 19 Feb 2023 15:52:29 +0100 (CET) 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="OZxevQPW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C1E268575D; Sun, 19 Feb 2023 15:51:51 +0100 (CET) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 2B98D8547B for ; Sun, 19 Feb 2023 15:51:47 +0100 (CET) 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-xd31.google.com with SMTP id c21so348165iob.12 for ; Sun, 19 Feb 2023 06:51:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=8oBVcmqbsP5phHRUNf8V0LHIKWxcy8QU3bSZ3dE2OkA=; b=OZxevQPW5bDkvyo7XN43uitsjXz2Z8Pggd4p+gFK/IX6Uy6rFDrKZgS+DHvbyQFCuc nOaFGm/Qw1/NR0YjRAciJ+We5UE9Z3yTiIw+rtgP3sPlmhNFjOc+lUEev2Sx/iTTkRKl FBJrCMxN6zRCGtUK0Rxil6S8AAxGlGj4CIP1w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=8oBVcmqbsP5phHRUNf8V0LHIKWxcy8QU3bSZ3dE2OkA=; b=zaNDbuqhoomD5Iiex/nEJWIhjZM4GijGRtzdhyYuJFSUg/iNEFk1o3YRXteRVCM9np XVl1zyIppw//q3QlfKPKTBN12Um5rM0WOQ0ZPpOrb81ddeparJEjkLzl0wd5txqpMd8p wBWtn6ja/uijeUnzH1zedlnGSFGmBG1KAw/FCvGKOzkQKZJfD7oQ+n4mVQajwbeTBur8 WP1HC4Gc2REY4dJGnRQNo3Df9a+N3QguCH0ynVQB0s2GeXDIt4engrjU/OJ2Z00oSzAu K4sG+pFl0xnHrFixHivejEJt9ecpH+jNvDdkseFb3QrVE/Nu9bYU2b5lxeuaPn7w7ZZu gmWg== X-Gm-Message-State: AO0yUKX65usW2lMcTgs+CSwmM/SLXfKNaxqSEIeskLCLNix/pR81B8n0 L/Wx4XBrcHdNJ9JB4ZZvJvGmbqR7ClUTseiR X-Google-Smtp-Source: AK7set9zn1MaB499tn0qwTZ1a+6xPq1MIv9MCWzbVF3SS7Qtbweb0Oap1frUxdH8xZSx5oJ4AeoPNQ== X-Received: by 2002:a5d:9f59:0:b0:704:b286:64c3 with SMTP id u25-20020a5d9f59000000b00704b28664c3mr4631622iot.16.1676818305647; Sun, 19 Feb 2023 06:51:45 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id c84-20020a6bb357000000b0071c66d1a2fcsm3444772iof.0.2023.02.19.06.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 06:51:45 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Alper Nebi Yasak , Neha Malcom Francis , Stefan Herbrechtsmeier , Philippe Reynes , Peng Fan , Simon Glass Subject: [PATCH 01/15] binman: Avoid unwanted output in testFitFirmwareLoadables() Date: Sun, 19 Feb 2023 07:51:09 -0700 Message-Id: <20230219145124.1782335-2-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230219145124.1782335-1-sjg@chromium.org> References: <20230219145124.1782335-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean This prints a message about the missing tee-os generated by the test. This is confusing, so suppress it. Signed-off-by: Simon Glass --- tools/binman/ftest.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 062f54adb0e..d469928b256 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -6353,10 +6353,11 @@ fdt fdtmap Extract the devicetree blob from the fdtmap 'tee-os-path': 'missing.bin', } test_subdir = os.path.join(self._indir, TEST_FDT_SUBDIR) - data = self._DoReadFileDtb( - '276_fit_firmware_loadables.dts', - entry_args=entry_args, - extra_indirs=[test_subdir])[0] + with test_util.capture_sys_output() as (stdout, stderr): + data = self._DoReadFileDtb( + '276_fit_firmware_loadables.dts', + entry_args=entry_args, + extra_indirs=[test_subdir])[0] dtb = fdt.Fdt.FromData(data) dtb.Scan() -- 2.39.2.637.g21b0678d19-goog