| Message ID | 20260122041155.174721-4-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=1769055141; bh=oMu+emmXZv57t+Gu8VuNWjAscu45klghRgskKiUzO8U=; 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=ZpXisIJ4ii4sPfm8dRWiBwJc6ubkgLm1r2d23p1Y2xL2LJPuylAVi136tU0hpdVT/ iJ7IHGUl38YN4nbowChiLrnbub2ds2ItqsYejzZwYKTPDtrXcFhFGCp1ojFX3C+Pjo 68cDoZnXPHmTctPUXVy1CmCy7IeDjizW6aF7KDFNsiSxTXXRDeYCbyH2MgAFiVd7yv +KkKZ1ncMi9uqaDSpHE0Lffi4FJZL6lu6auMbnNdipb8ErdCBjD4L5wnP/Dj0zuYne Pumn8DOuFI0eM3YFLoxbxNbiAzyuVWtUGslesLIhCEjHsF8MsHKlDpWdV+2nUdyJmE nM57iyJdBCI7w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0E56E6962D for <u-boot-concept@u-boot.org>; Wed, 21 Jan 2026 21:12:21 -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 l4QetoNo3Roq for <u-boot-concept@u-boot.org>; Wed, 21 Jan 2026 21:12:20 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769055139; bh=oMu+emmXZv57t+Gu8VuNWjAscu45klghRgskKiUzO8U=; 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=X0oSgVc9s3OwGkRPYboHiR4TU2/u+BEhf66jiqt6dbDHeiyXCNL2WIeWDg0g2SloE BR0tpu6omromA6IiyNr1gkd2U8oIPllapNcpFn7D5OyjSYZjDdEKSh5zq+eoTMqSpy Sakls51EhnnBO85TLfBVbkKGm1nZ3Zs2dhqFP5XTEJqtZCgp0PuV0uXidwuubSlPgZ 1fk1JW/IvUh1/uPfNPrE8Khi2mTnfXR8DwCu2aMmW7dl2XwSUXgjEz2L0bcgAH0z/l s+dKSFViLXxaLlfeeMRPSQfoKXK/NuhSFvYbSYotb2TM+Vgw3J14cDZMBBEazcexDN L28zzPE+6YBlw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0B8DB694CC for <u-boot-concept@u-boot.org>; Wed, 21 Jan 2026 21:12:19 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769055137; bh=cqEZ9o8yQMslFq4aZej0qwS3XMeh4PSKEuVv2uW2Spg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pTDh9y6EvMq0+wP+ODNvUHE9DlKBT5KxxBRr8dhObQGv5s6nAYNHZ88Slp1HE+yAc x0m53ik2am+KuKs6QLtB/ZnA/c4hABd9RQCJnif1ux305TVEtEnb0/ctWuqvUQshAT lXKsARU9Bz58M+cZPqG3uJarAlLN7pBYbNnG2o3bUtdXbN15o1FktUAtEpWRZLblT8 Sw7SjFaF/+45aBEPale9ZWxBjjnwpaaGowg5hQyFO5u/ARyuGohlazQ0QES+6tielE f20O5bQBhs2EG6XQTsPtgF/ZyliINVQEPB4iajIyiXTl8P+OfRvEcMK/2glfZXkm5c P1xNptkiUgyEA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BAC20694CC; Wed, 21 Jan 2026 21:12:17 -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 FRDBqIlIws6z; Wed, 21 Jan 2026 21:12:17 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769055137; bh=jNSKMMCaHI/mj861gwTbXjGjsr+1WdaJRqxWqxR+83o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F1fcRpZ5ft6NKzn/ZcGuV/Cq3MVt1Dm8kvjCxxk3Ithum7CFcuEAD62y49HgUktHg +A34MybU8C4QT1zZ+YKeruvkdNQKYXJAp2YoWpUsKnnhid/vVC36isClFzdm9cLbDm 2ydSyOFPAsYTBqVbVixaSKtV4uwCrQYdIgDKg6ITeM6h6MXzdEkgVjdqUviaxGYOWX INsAa9AG2MNoF0KzljOFWT68n/cWWAWJi3goUoPA36M3Y54uL2+t+U6MYd6g/BDnZe 6NA2qzXJfTdcWw1ddJfUjdBmV3nZKOi4YRmTsyenFQMZj2rKrwRLSi3AgJFBSKiwKq gBdybZiArzXCg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 3FA2F69616; Wed, 21 Jan 2026 21:12:17 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 21 Jan 2026 21:11:31 -0700 Message-ID: <20260122041155.174721-4-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260122041155.174721-1-sjg@u-boot.org> References: <20260122041155.174721-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: KSG3YOEANG5YVH5GXHYGN7E22IXLSHCG X-Message-ID-Hash: KSG3YOEANG5YVH5GXHYGN7E22IXLSHCG 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: Simon Glass <simon.glass@canonical.com>, "Claude Opus 4 . 5" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 03/16] test: expo: Use expo_enter_mode() in textline render test 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/KSG3YOEANG5YVH5GXHYGN7E22IXLSHCG/> 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 |
expo: Add multiline editing support for textedit
|
|
Commit Message
Simon Glass
Jan. 22, 2026, 4:11 a.m. UTC
From: Simon Glass <simon.glass@canonical.com> The expo_render_textline test renders text-input objects without calling expo_enter_mode(). This leaves manual_sync disabled, allowing the video idle function to run and show cursors unexpectedly during rendering. Add expo_enter_mode() at the start of the test and expo_exit_mode() at the end to enable manual sync mode, preventing idle cursor updates from interfering with the framebuffer comparisons. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- test/boot/expo.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/test/boot/expo.c b/test/boot/expo.c index f94927eb6b7..2ace10994b6 100644 --- a/test/boot/expo.c +++ b/test/boot/expo.c @@ -1433,6 +1433,7 @@ static int expo_render_textline(struct unit_test_state *uts) ut_assertok(create_test_expo(uts, &exp, &scn, &menu, &buf, &logo_copy)); dev = exp->display; + expo_enter_mode(exp); id = scene_textline(scn, "textline", OBJ_TEXTLINE, 20, &tline); ut_assert(id > 0); @@ -1528,6 +1529,7 @@ static int expo_render_textline(struct unit_test_state *uts) abuf_uninit(&buf); abuf_uninit(&logo_copy); + expo_exit_mode(exp); expo_destroy(exp); return 0;