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 81E63C6379F for ; Fri, 24 Feb 2023 01:18:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7645585A25; Fri, 24 Feb 2023 02:18:53 +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="amijveTW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 391D485A1E; Fri, 24 Feb 2023 02:18:51 +0100 (CET) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 8F86C85A11 for ; Fri, 24 Feb 2023 02:18:46 +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-il1-x12e.google.com with SMTP id o8so3934817ilt.13 for ; Thu, 23 Feb 2023 17:18:46 -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=K2nitx/E2PNeISb5+z3Qh4Bfx0aRa2WWS/fmYVMCY/0=; b=amijveTWIxIyVDa3F2iH8BrW71nXC3rkFda9j0fxTWO4sQTKFODwic/n4CB7o+o0U1 y27OA/yHbjp7TxyCJ8BeTOGnauXI9JGskikEet+sa2979C+bVJoEqHSWcqnVDiqkbgBv 4xoGhCHfr9rRWSaL7T4LYo3EQDj8iJZURO66w= 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=K2nitx/E2PNeISb5+z3Qh4Bfx0aRa2WWS/fmYVMCY/0=; b=FqE6+d9e8TnpoPRsOdCXPp5J8oaJcp5iiMKeTPHpIsvQmBlfaDDz1B8zyG2QuXDtFx rB5eHSimiVSvMQqROJp+HCV8OedmxAVgHVI4O0/CQTznpdvIuq9gg7TtP47lZ4xDWu1q L2q1+QHv65x86CjEvqAmfb0iBMik6OIumszW5wwtgVgPjnr5pmPYEyVm2rBAp2pKpzVy oHucmxU23SAuOBX5XbDkpYFjCepiLeCJIttJsfdeAi2578CXb69E4Po6Xfc6yXEQoSm+ tdENx/smwU/SeBaQjHxTQiDTC4ATJjENU6OIrhd0UR1blswXjuARBXGOjtdzEkJ8TfRK yteA== X-Gm-Message-State: AO0yUKWJu4S3hRDi/lqfG6vVvY/Qn9inWf8GNqbVOMkyE5wPHFF5srOA 3MCHSyxAwl8jObz7EmP0aHPJq94cO6zlvOx4 X-Google-Smtp-Source: AK7set9vdUABb5eO1ZN5sSRW/5rz/ZmAH7PVbQZ7TVYamRQhkgRPj7Fpyt9hvDCQ/XNXLBN9aaVcXw== X-Received: by 2002:a05:6e02:20ef:b0:310:c746:d35d with SMTP id q15-20020a056e0220ef00b00310c746d35dmr13760373ilv.25.1677201525043; Thu, 23 Feb 2023 17:18: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 q3-20020a92d403000000b003127b668eafsm2677214ilm.19.2023.02.23.17.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 17:18:44 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Alper Nebi Yasak , Neha Malcom Francis , Stefan Herbrechtsmeier , Philippe Reynes , Peng Fan , Heinrich Schuchardt , Simon Glass Subject: [PATCH v2 01/24] binman: Avoid unwanted output in testFitFirmwareLoadables() Date: Thu, 23 Feb 2023 18:18:01 -0700 Message-Id: <20230224011824.2111976-2-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230224011824.2111976-1-sjg@chromium.org> References: <20230224011824.2111976-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 --- (no changes since v1) 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