{"id":2222694,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2222694/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260413130007.1987326-1-sjg@chromium.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260413130007.1987326-1-sjg@chromium.org>","date":"2026-04-13T12:59:51","name":"[v3,0/8] test: Refactor FIT test for clarity and extensibility","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/1.1/people/6170/?format=json","name":"Simon Glass","email":"sjg@chromium.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260413130007.1987326-1-sjg@chromium.org/mbox/","series":[{"id":499699,"url":"http://patchwork.ozlabs.org/api/1.1/series/499699/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=499699","date":"2026-04-13T12:59:52","name":"test: Refactor FIT test for clarity and extensibility","version":3,"mbox":"http://patchwork.ozlabs.org/series/499699/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2222694/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=gVzx4pjj;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"gVzx4pjj\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvSHv21nxz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 13 Apr 2026 23:02:51 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E523F8407D;\n\tMon, 13 Apr 2026 15:01:55 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 1B5F88352B; Mon, 13 Apr 2026 15:01:53 +0200 (CEST)","from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com\n [IPv6:2607:f8b0:4864:20::32c])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id CEF46841BE\n for <u-boot@lists.denx.de>; Mon, 13 Apr 2026 15:01:50 +0200 (CEST)","by mail-ot1-x32c.google.com with SMTP id\n 46e09a7af769-7dbcf927395so2526062a34.0\n for <u-boot@lists.denx.de>; Mon, 13 Apr 2026 06:01:50 -0700 (PDT)","from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7dc2696532bsm8369144a34.21.2026.04.13.06.01.20\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 Apr 2026 06:01:20 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1776085309; x=1776690109; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=8S36gRrhSjsO33l6bhWIEiCG98l/OJpgqXTQopEle2g=;\n b=gVzx4pjjLReJ1+/mmsaNi9/trc13EkoR3Hxm59RHOS3BywRFwFB3R1KtYiFtg7r+v9\n Y0ttwPxGDWwpCQNfWSNC1Y9CzE1HU8rc0fP2rlHslnIIPr6uCfHEaQoVw61iOHAA2vGD\n V8+FPmls7qBhyECUi7F9hV97N+oJIet2bb0KU=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776085309; x=1776690109;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=8S36gRrhSjsO33l6bhWIEiCG98l/OJpgqXTQopEle2g=;\n b=gQ39EQj5EL/51llMtXWIynnfuD4ZZCyzsqwrIBx4Dk+f9+KSPnteML4XptQzeHiFLA\n sSRUjzsDlT0KNWz9b9O3h4A2cdxuPwI0NDXoxVgDrr4wrsZ32SmYY8OLvn5ASu+XGfGv\n sRd1eK5bZde/WloePhnVNlpShwBZmw4jUw4USBXnrxyhwMnGv6K2ozHg+vO199KRayuj\n ld/mj1Gj6KFuXLfb0R7PmRK10Y2v8Yk729IsP2Vuzi5Y1NQ7HPhjDd+tebluQZI6MKoc\n Mxhq3joX8jFEazWOGPBZJ1IpHjfN3XWjGhRMCOP7dtfTEeQEIeFIBAJ7MAQNrwL2CzHe\n 2o5w==","X-Gm-Message-State":"AOJu0YxczgPtcQGTkTMPckDYtZ4JgXv7BcU3MQ16YDi5FXgmQMqU8z9c\n WZkOcmtqicirYCYcNGH+Kxw1rP5NGKSyh8siN7YslRwN9rwL3z9zYCUOVjjTZB6dQwonI8xtc+n\n lbkC4IA==","X-Gm-Gg":"AeBDieu2nVy2zU1YdRE7Z9reSyWOIwwKvdvH6BQhsqnOHH9GMh7NRhLYuOmhpJGs5wl\n gAW4zRd8+eKa/IC+cJDxo4jZFb+KpUpN2ZIYto8t84hoyryMvOh5zmvEHeatGEWuMeGK7fBfb8A\n Jmd+COgktvQwWYjSV3dg7Q22qblcA4Jom3pN4tZxZBEOLSrzgvfoav90w4qFloyPxjAy6ywgHka\n g26hoBTBs/BX3+eQI2fy6eiJTnsYxeyzGaAv8GFwwgtAhq+1KqGadQ0e/YK3eJ2s1ou5jqhcGwk\n fydt4JbGXQQDsGf6UVha+h2iL45fswsvlE3XjNpqEZK+kgoMStL/jiM7hxITybPrjoIgPuce8HY\n tspZOsI9CzjKcZUCVB/pGQm/KIvAM1RKKsyAkGW1oQzNEVkIthx0f/urG4G4Cx1xej40onNiW23\n /VA+riGewJ9Qb0nUNccA==","X-Received":"by 2002:a05:6830:6f43:b0:7d7:d4ee:c02d with SMTP id\n 46e09a7af769-7dc27e0ae09mr6709491a34.21.1776085281812;\n Mon, 13 Apr 2026 06:01:21 -0700 (PDT)","From":"Simon Glass <sjg@chromium.org>","To":"u-boot@lists.denx.de","Cc":"Simon Glass <sjg@chromium.org>,\n\tTom Rini <trini@konsulko.com>","Subject":"[PATCH v3 0/8] test: Refactor FIT test for clarity and extensibility","Date":"Mon, 13 Apr 2026 06:59:51 -0600","Message-ID":"<20260413130007.1987326-1-sjg@chromium.org>","X-Mailer":"git-send-email 2.43.0","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 <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <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>,\n <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.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"This series reworks the FIT test (test_fit.py) to make it easier to\nmaintain and extend. It fixes the buildconfigspec so the test actually\nruns on sandbox, avoids unnecessary U-Boot restarts, renames the main\ntest for easier selection, adds a missing-kernel check, fixes Python\nwarnings, converts the test to use a class, splits into separate test\nfunctions, and adds Sphinx documentation.\n\nChanges in v3:\n- Restore the find_matching() examples, wrapped in a code-block::\n\nChanges in v2:\n- Add new patch to fix the buildconfigspec marker\n- Remove doctest examples from find_matching() to fix Sphinx warnings\n- Add new patch for Sphinx documentation as requested by Tom Rini\n\nSimon Glass (8):\n  test: fit: Drop the fit_signature buildconfigspec\n  test: fit: Avoid restarting U-Boot\n  test: Rename test_fit() to test_fit_base()\n  test: Add a check for a missing kernel\n  test: Update fit test to fix a few Python warnings\n  test: Convert FIT test to use a class\n  test: Add fsetup fixture and prepare helper for FIT test\n  test: Add documentation for the FIT test\n\n doc/develop/pytest/test_fit.rst |  10 +\n test/py/tests/test_fit.py       | 431 +++++++++++++++++---------------\n 2 files changed, 241 insertions(+), 200 deletions(-)\n create mode 100644 doc/develop/pytest/test_fit.rst\n\n---\nbase-commit: 1c1bfb1cf34bbb2a5717eb6995c55093279f9341\nbranch: loada-us3"}