Message ID | 20210925003055.759305-7-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Heinrich Schuchardt |
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=fhZUpSTx; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4HGVLl52FPz9t4b for <incoming@patchwork.ozlabs.org>; Sat, 25 Sep 2021 10:35:59 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 365728354F; Sat, 25 Sep 2021 02:35:04 +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="fhZUpSTx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9877F8350C; Sat, 25 Sep 2021 02:32:11 +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_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 D85AE834D2 for <u-boot@lists.denx.de>; Sat, 25 Sep 2021 02:31:20 +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-ot1-x333.google.com with SMTP id j11-20020a9d190b000000b00546fac94456so15473719ota.6 for <u-boot@lists.denx.de>; Fri, 24 Sep 2021 17:31:20 -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=PQ5QyOkEdSce79XxSzftP3YSkJPnRO1rI7QkUI3Bh80=; b=fhZUpSTxfNUGrSn7VOBZHXHUTX7WM3iQ5BwWkFO5GsSB8sPSI+Rbgd5BFVgSA7yJuA HCCZanrsOI4o9vEYPrWS2tvU2vx279JOuPQT7Q/VAVBj1ZUY3iuvjo8QRHW0ws3eoON/ jF4EBKvM/h4tMuSsmUGPud7HwHx346vdVv5Ms= 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=PQ5QyOkEdSce79XxSzftP3YSkJPnRO1rI7QkUI3Bh80=; b=rNOvFusDV/FCbVGOSmcDgjnmTVkeVaepMQcq8hFAvT0X0VErU5LGh/G5eCyY6sP75Z 2smw81TzVx6S/FKFwPU8LXTeGhm9qcJBZDQ1byOiJzetTO98wAzJV4TWn5CTSaKJcAdI RpQrA6Sbgn+4hDTQ+dieomiW9zoWlnnDMMT+O/Q5EM4ahVb2dLcr2bXJZbzQgWpyi2Zv /h1tHrBMd1DHhWdC5iDm0A2z6jezlhygK3Lj4nMj/IgmLntHEvsgOTgaDFWn7OuZTgA6 km2qp0mqk8nxcpSM00JCv8MYJDvinTfMtitmeOE3PHrOIt/QrVBfItYtNauJv58A76M6 ktiQ== X-Gm-Message-State: AOAM530dLtvcnmPLMr4k/bHvHAKLc3Mfzn6qtHHA0/oO9nxhfHqlt1h1 ee6zuEGpmEDbnoQ4Xwb1qKGU0YdJb+7ngA== X-Google-Smtp-Source: ABdhPJzHySOtK+fqCuUW862bW9fXwPe/TbDElxtU7sf8km92QW8Cs7e16Ic5tNymgLotirFL/KE3wA== X-Received: by 2002:a9d:289:: with SMTP id 9mr6203886otl.213.1632529878853; Fri, 24 Sep 2021 17:31:18 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 17:31:18 -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 19/39] binman: Report an error if test files fail to compile Date: Fri, 24 Sep 2021 18:30:35 -0600 Message-Id: <20210925003055.759305-7-sjg@chromium.org> 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/elf_test.py b/tools/binman/elf_test.py index 7a128018d9f..bcccd78c0a1 100644 --- a/tools/binman/elf_test.py +++ b/tools/binman/elf_test.py @@ -70,8 +70,12 @@ def BuildElfTestFiles(target_dir): # correctly. So drop any make flags here. if 'MAKEFLAGS' in os.environ: del os.environ['MAKEFLAGS'] - tools.Run('make', '-C', target_dir, '-f', - os.path.join(testdir, 'Makefile'), 'SRC=%s/' % testdir) + try: + tools.Run('make', '-C', target_dir, '-f', + os.path.join(testdir, 'Makefile'), 'SRC=%s/' % testdir) + except ValueError as e: + # The test system seems to suppress this in a strange way + print(e) class TestElf(unittest.TestCase):
At present any error from the 'make' command is silently swallowed by the test system. Fix this by showing it when detected. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) tools/binman/elf_test.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)