| Message ID | 20250915122905.1217249-6-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=1757939385; bh=R4YAOwSaU+UgBbMZv37ayLzwaOw46u16J/rVZ/EhJNI=; 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=GpNzieD8dUSgCUd01YQqzYo+qM4Yxp6ncr8miX5Ig1FeyXCeUVBUvZCTsvXbYw6HK iDzDHqsuTdA7u2u8soBTxsiwTNyAsApUw1UKZ/albDdATLqoBgbIR2Zdtz8cJ72Uh0 E0Ba1Q427G4N5f048MnT3MhO57pJ/wsSee7JYV21S+GuM0FczekyzwJ4Qz5NjW7utX DPj2xKKRQLfiOiN5IC0ErQU6Ca4Dhzu0BViB+3cIkf7I/cN1C8pnIIB+bzNmqvktpg MWrxuYa6JC0S4A2a72keX69MUVqhLwetA2ihkkSr01AzgDShBpltT5Eumu/75b32g6 r+znT92LCoDSQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2A63E67BD5 for <u-boot-concept@u-boot.org>; Mon, 15 Sep 2025 06:29:45 -0600 (MDT) 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 Ke03GMi15fTy for <u-boot-concept@u-boot.org>; Mon, 15 Sep 2025 06:29:45 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939384; bh=R4YAOwSaU+UgBbMZv37ayLzwaOw46u16J/rVZ/EhJNI=; 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=LawvMqaeSyjloXXKvp28GgPOgM5oFTlN1WnuL4SB4kRB475Y4d1KeQgnY8eb8ioMC xNXGc8x8oP7CEO3T0RdYdLnHKJy5WyvDthcUozE9zHPo12xu0X1XzmIqGV+W4IRuGo MkN8iAl8vI8Pf6yvZNahnEcfc8RHlhn3FZb1zCI50HllDDBu2O2mrWj1BcvSbh+B9e uTnJ7DyayFUj/tEX/BvTHvILqe+ZybX+YnpoHOYPdM2huF1bjK6filzhtM4907aSpv pemFEkwzvC4b2HnJSkp+lWXmy4TqP9oD4Zdww2arOlA9b9sn97GifsZFf8MtXCrdkd OijMA9XX9PsnA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1AE9C67BCC for <u-boot-concept@u-boot.org>; Mon, 15 Sep 2025 06:29:44 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939380; bh=ll4MD3ibzDGbU7NxUvdb8qghzkAMejJEvUOa/50UsLo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tlQ8DCQ1UxGDrp1NB8J6jmEO1x3nc4nis+3VoOfR9zOJZwdxKAWJZ2BVw/te4WuFm e0jYaTszdwWU7nWAjhRvvn6k8GgEfqnVeoSg4ufbRbn9WoGPbu7kfwkutlvQ/jH8bZ rWX8yez+r0VKMU+AifxOB134Fvb7pe7bpTlyTEGmsnSsq35a24Ti+thu/TfwerIe3U WN+52iiaSn+uhotyw/Rr2LF8IhZOtGbjyV4Cb32pUI8cnrFZBKR2mD9ofPO8QvfcsZ hYV60ESfZ4p2XtTAp8CZJGTczHiqpTk5PG78XQbrNQmAPvEV3VEx01IPwArl+A498Z y+pF8rvth9Qkg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A7E6D67BAC; Mon, 15 Sep 2025 06:29:40 -0600 (MDT) 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 ETXco1zmqTDc; Mon, 15 Sep 2025 06:29:40 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939379; bh=omh60+MLswYXaDAYqyYsWt3Epa71H2biwyd3adKpQUo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RX69rqnJE/FpEUzEZlyR8Uy69UHSwDOiEya7IFgCDJNLEJrniJFhJKqHIk0rDn4ov ceLPQy1hll5AeWbb+wRK4rEv64bt971ndvO6dv/C1RENpIdstBEh3p2TuhklsaEcEi 5xV+LkUsp4dSbboRcSTsZThjHwEMysafaW1VVuMG4CSSBxyDE/ZASqA/UHROrN65yC /Gd5uvPIKQhYj6zGtcJrixX45o+2JLzjUe6aRTyAIYkgobGtlVfVFTeMuc2YbSXT2h f6pU7VTH87drskUkh1aKOyg2VQnMysxlQtIAPUgtn90GnJpXruexBZ2D5eT0/SjM4K rdA9LrSJrJtGQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id D354067B44; Mon, 15 Sep 2025 06:29:38 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 15 Sep 2025 06:28:38 -0600 Message-ID: <20250915122905.1217249-6-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250915122905.1217249-1-sjg@u-boot.org> References: <20250915122905.1217249-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: P2O67EWPLBI3GZ74UOCBVMN4IUGBYTID X-Message-ID-Hash: P2O67EWPLBI3GZ74UOCBVMN4IUGBYTID 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 <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 05/23] test: video: Provide an easy way to watch video tests 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/P2O67EWPLBI3GZ74UOCBVMN4IUGBYTID/> 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: Support interactions with a mouse or touchpad
|
|
Commit Message
Simon Glass
Sept. 15, 2025, 12:28 p.m. UTC
From: Simon Glass <sjg@chromium.org> The video tests run past too quickly to see what is going on. Update them to introduce a delay after each check of the screen contents, when LOG_DEBUG is enabled. Signed-off-by: Simon Glass <sjg@chromium.org> --- test/dm/video.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/test/dm/video.c b/test/dm/video.c index 8fc1a4d8b0d..513134dd445 100644 --- a/test/dm/video.c +++ b/test/dm/video.c @@ -17,6 +17,7 @@ #include <asm/sdl.h> #include <dm/test.h> #include <dm/uclass-internal.h> +#include <linux/delay.h> #include <test/lib.h> #include <test/test.h> #include <test/ut.h> @@ -69,6 +70,10 @@ int video_compress_fb(struct unit_test_state *uts, struct udevice *dev, if (ret) return ret; + /* provide a useful delay if #define LOG_DEBUG at the top of file */ + if (_DEBUG) + mdelay(300); + return destlen; }