From patchwork Thu Aug 22 13:57:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1975555 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=cT/bD8CM; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WqPxJ1Mghz1yYZ for ; Fri, 23 Aug 2024 00:00:52 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7B1A688BDE; Thu, 22 Aug 2024 15:58:33 +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="cT/bD8CM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CBBF588915; Thu, 22 Aug 2024 15:58:28 +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=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 B58CE88B9F for ; Thu, 22 Aug 2024 15:58:26 +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-il1-x12f.google.com with SMTP id e9e14a558f8ab-39d31d16d39so2952895ab.0 for ; Thu, 22 Aug 2024 06:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724335105; x=1724939905; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eSmg8Jrg8O+lr/z0XY2gJXEMvm3E8y/EMLzIzK06i7c=; b=cT/bD8CMKcsnyrlgDJummUvM5sazXjV3mse2I2RN+Lr9zEmDHPp1lH1eAbwQfGpCms kRzw1d094iyCA3EyonGvOm4XHqRFgL4Nr6AaeJT5zJuX3UqV4VBFZXxy7/9ZjkLGtidd OPfLIbtcKKe6U0loxS4F4V/72eqs9l6S7OD/I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724335105; x=1724939905; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eSmg8Jrg8O+lr/z0XY2gJXEMvm3E8y/EMLzIzK06i7c=; b=allrRm5wkHP3W6wM/N5XkyWHgJVraxl/quoNV3DTu4BqkpttG1jGSLzsZd75R21Y/C uXDXOd+PZ5tRYQ1//8OZoZFqHhScWVGVbcvqW0wT5ghIACnC7Km+Lavln6NZGQ38le3O GAChuB+bQtrkhgDSj1HS/0DiTFuatUtn7op/9n+iOrJVlV74pykjTe4Jw1vksRQjlmIf IlfZ3v0k4IXME+ixhSkQiNz1bFzntrFudix8wKco+TZ+WYkAMS62lLergRR2iQqTmoBq JFRvvep7gK3Os6Z2uNwotUtVL0NuUH1QP1nQcbwG/E1kppBIeV2L4MYE3IZrz+h57/K4 IwvQ== X-Gm-Message-State: AOJu0YxZ7Ob2GYl/xPVe9zSGHmv9Eer59dwIkO79pjwdgrmnONxew7FH 8cYdCnOWvSAZgBxrHFlBt+2a36BYVE/uZ4sSaqDBOPtVev+YJIycKnDRcI8G/MQurUIfRW1Efu8 = X-Google-Smtp-Source: AGHT+IFJupTOvilvBEO7d8RyhcgLdspaVL3WpY8txrLuKQd1kvBKY1vLup8EPYjTEST9pQP0hgLeqg== X-Received: by 2002:a92:c26d:0:b0:374:a781:64b9 with SMTP id e9e14a558f8ab-39d6c38f753mr71076025ab.13.1724335105313; Thu, 22 Aug 2024 06:58:25 -0700 (PDT) Received: from chromium.org (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39d73e747eesm6793275ab.29.2024.08.22.06.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2024 06:58:25 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mattijs Korpershoek , Tom Rini , Simon Glass Subject: [PATCH v2 12/19] test: cmd: Use UTF_CONSOLE in tests Date: Thu, 22 Aug 2024 07:57:57 -0600 Message-Id: <20240822135804.2375959-13-sjg@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240822135804.2375959-1-sjg@chromium.org> References: <20240822135804.2375959-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Set this flag rather than doing things manually in the test. Signed-off-by: Simon Glass --- (no changes since v1) test/cmd/pinmux.c | 3 ++- test/cmd/wget.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/cmd/pinmux.c b/test/cmd/pinmux.c index 0b4e001fa1e..7ee92690756 100644 --- a/test/cmd/pinmux.c +++ b/test/cmd/pinmux.c @@ -36,4 +36,5 @@ static int dm_test_cmd_pinmux_status_pinname(struct unit_test_state *uts) return 0; } -DM_TEST(dm_test_cmd_pinmux_status_pinname, UTF_SCAN_PDATA | UTF_SCAN_FDT); +DM_TEST(dm_test_cmd_pinmux_status_pinname, UTF_SCAN_PDATA | UTF_SCAN_FDT | + UTF_CONSOLE); diff --git a/test/cmd/wget.c b/test/cmd/wget.c index 1ce167c4ab4..a91aa24722c 100644 --- a/test/cmd/wget.c +++ b/test/cmd/wget.c @@ -223,4 +223,4 @@ static int net_test_wget(struct unit_test_state *uts) return 0; } -LIB_TEST(net_test_wget, 0); +LIB_TEST(net_test_wget, UTF_CONSOLE);