| Message ID | 20260103011908.149445-21-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767403234; bh=n2DBkezFcw9n5HZKvklxkiE4JAk6SM0wokJpdsVRROs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=qmeR5IrnK9dn6p9vv5bApl+PR7emSFZvtA+050ZLUF3CcNdSTx+Hjty54NR63LmLl e7YYRbF83Zh8cNWkVrO/re1FxguH1LU570Lw2DOQqwNu+kyOAOE6kTQ+lJpNzvxBzz 3dA2IXz8OjtyIpjZjD8hP3EfhrBSRCcM3dgaBtXr51tcJSlXdDM6qUdxCIbm45qhhW 4bfQ/ItQNSpKqsBE3NS3TPyfUDmd08da27MYHCRmjv7DYg1/0a/zRgmX7ZxgYZWlRi F2JCjHT+aJ0v2y4DtaBy6Q3XQVst5I6lq4zvpi/hhJlc5mrI7OyxKYOh3WLwLoqrgx TZCumT+DTSyQA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 41A4468F87 for <u-boot-concept@u-boot.org>; Fri, 2 Jan 2026 18:20:34 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id N7UX4iBg_m9v for <u-boot-concept@u-boot.org>; Fri, 2 Jan 2026 18:20:34 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767403233; bh=n2DBkezFcw9n5HZKvklxkiE4JAk6SM0wokJpdsVRROs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=UBqpfXU7pTLtv2COr23rkCUhcr4I7IMnm5IgbixtzB++ppk3EI4s8/E4zSPeMQGL4 nz3QM1WOvMBu1+Pt8fQH6OiIaROlQIvia9KYKO/Ww4UtozNyv8siEONcQEAff+90Y/ 0h/Z41G+U7K62pK17LRpaE54rSLr1FB+qNPEEqv8HUCGOILmwQKx6nuRqy8E6xz/9e 8T2V937gJsO6lTVsClU4Qo/8xiyx6H55DuSyf8EYkDzdGFpE8C428DeOEKD0TCp5BU JAosWJsNl/lK51nh4XQ1pxj+y/ENug+fBYX8RafZqLnP/G1hsDgO7+DiMCHFSnnWSf OHnwdhLe+BgfQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 45B7468FAF for <u-boot-concept@u-boot.org>; Fri, 2 Jan 2026 18:20:33 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767403231; bh=ys4gXOn6jRaU1znZk+qQQtohyOtibGQXO26Sj1ThTCk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ADVxy008ItVkl1xKDdlw4VeVw2Vd/KbI04vhUrxBeqhNTZCjNmKWAhqYwnaNRm2NM m8fonGrEEsN+HfWO5wo/c6aZ+jAql1TpWJch1ja2v3bMyCUzYeFeI1F1tK1KEzF9Wf HyO+0/V965vmbT2DXFKOaS/GWzboOVXzb8ePgRHUiaCmxCUtrV23FjJhtHW0QiIEzF IXY6Zlv+yQ47+kVa6m74/2aBs9co2GR7TCxPwXSRRphKBiK80zAu5STqB5mJ3P630O JaSJEQtRmJD3zuqg/J4SDf7YtzgCgg6I+I+bZRKEbDpHQwk76w2OTrNvGSzF/fKG9A OghCJZ+ok0HNQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id F31B769060; Fri, 2 Jan 2026 18:20:31 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id Xst9pKcjV1l6; Fri, 2 Jan 2026 18:20:31 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767403227; bh=5uP14ASi2ex0VZmZ/Dsotw18PX7jYpIZPIdvY0SRqUc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rmc591YnEHxPSdGt1paTxLNaxxBB46sIf45oXCn2/b1YSEko/DiqkdtaMGcOFULtY rqq2Zy0vPCzVnh4k+tn+u6I1LuGCAV/MkD3mWSfMM3/AvRSDMFSlIglWIqgW+5bDXe FkeIHX34/T9gF+N4wgjQB/YOvzwCOGrBrvSRqyuoslPSsJhikIZWE1S+MGaofNoVFx 1+qtarDfbgoF2uBub1mlviFSslw4E9rhOUN75Cz3fK0NIFSxA0Zpavhasy+Q5qaoEp PtUyYHBm/xq7ypHLM2pQNyw9R7uSJRqBH8fqEeSAU9X8Rfn8VRHKC/E0ac3C6upgYH poo2aB7hOVGMQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 8130868F8A; Fri, 2 Jan 2026 18:20:27 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 2 Jan 2026 18:18:56 -0700 Message-ID: <20260103011908.149445-21-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260103011908.149445-1-sjg@u-boot.org> References: <20260103011908.149445-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: TQCZG3U5PQRTZPY2UMLSMWGTKRHKMMKM X-Message-ID-Hash: TQCZG3U5PQRTZPY2UMLSMWGTKRHKMMKM X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <simon.glass@canonical.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 20/24] test/py: Handle a failure during configuration List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/TQCZG3U5PQRTZPY2UMLSMWGTKRHKMMKM/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
Malloc debugging and test/py improvements
|
|
Commit Message
Simon Glass
Jan. 3, 2026, 1:18 a.m. UTC
From: Simon Glass <simon.glass@canonical.com> If the build does not exist we can get an error when starting up: INTERNALERROR> Exception: .config does not exist; try passing --build option? Exception ignored in atexit callback: <function cleanup at ...> Traceback (most recent call last): File "test/py/conftest.py", line 697, in cleanup show_timings() File "test/py/conftest.py", line 644, in show_timings if ubconfig and ubconfig.timing: ^^^^^^^^^^^^^^^ Fix this by setting up the timing member at the start. Signed-off-by: Simon Glass <simon.glass@canonical.com> --- test/py/conftest.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/test/py/conftest.py b/test/py/conftest.py index b79080af961..0060f3da986 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -301,6 +301,7 @@ def pytest_configure(config): ubconfig = ArbitraryAttributeContainer() ubconfig.brd = dict() ubconfig.env = dict() + ubconfig.timing = None not_found = [] with log.section('Loading lab modules', 'load_modules'):