Message ID | 20210308003517.1574569-5-sjg@chromium.org |
---|---|
State | Accepted |
Commit | bef1b283354fdd055962b7ad5ab9f59d75a11bd7 |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: 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=GVof5rW1; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DtzvG5lnqz9sSC for <incoming@patchwork.ozlabs.org>; Mon, 8 Mar 2021 11:37:30 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B1FEC828D9; Mon, 8 Mar 2021 01:36:23 +0100 (CET) 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="GVof5rW1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DB6978287C; Mon, 8 Mar 2021 01:35:35 +0100 (CET) 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,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 255AF82833 for <u-boot@lists.denx.de>; Mon, 8 Mar 2021 01:35:26 +0100 (CET) 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-oi1-x22f.google.com with SMTP id w65so9261492oie.7 for <u-boot@lists.denx.de>; Sun, 07 Mar 2021 16:35:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WTypbs8YqBF3APLNl7ox09EMrPDNDQJjoSdQBhmT1qM=; b=GVof5rW1YtxFIFyArxshyIquk3WbE5IKZRzOF9g1l4LfnNiDlOiLD+4G2soBleuz3M SbqzC0qaWBgx7nuCkqw2AvNW/9IDxWORKSEeUwdXQbJ7vm5WmLp2hLeT+AckrNOBU5XQ Yc7rMGCknmeVnI3uBUFrQYxnnG3woSYRRWL6s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WTypbs8YqBF3APLNl7ox09EMrPDNDQJjoSdQBhmT1qM=; b=C2J02/ZyFO70t8YLaO7lRJNfwN8kaFbo4R09WpkpF+jKWkyJJQhDZJWfh9cdW8CDuy TZuVCEwjnQP+hOaceh8C1Fpw7S/45A/+b2IHuGZ02W0jr8APxxJZEYsicmdnO2nU+oRU jt5rz+dzQqysKeHRXlNwLUDPGLrJziEKEpKMJeNPr6reuktZVyRfNjZGa+jlID9EOeaZ BbNClu8qVEtMk30QW5MBQaADvvse8MjqNPn3xpAKuaE+9Ky55fDlf23WRa98O4/XJvTC BhCHfBLEAJXv2FKlkWuloX/silL5M5a5LVajTu41FroCGE8tdMYKi0Onum7l3ckTajan /BlA== X-Gm-Message-State: AOAM530dX8pXX8qI3+W60SVzabnpvEtxqQkk9RKwInmwKlrrmSK8Fyts qp+2va1MDAeCfCnmeFt892KsVeIMRnshtqxj X-Google-Smtp-Source: ABdhPJyQo0mhyEz9ox3N2dGMeqe1oGyaf/h4Rcww4Y0Pku630e0uYu3IG6sho4x2YJqFb9I3f/vZag== X-Received: by 2002:a05:6808:b14:: with SMTP id s20mr9463628oij.164.1615163724575; Sun, 07 Mar 2021 16:35:24 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id a7sm2078112oon.8.2021.03.07.16.35.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Mar 2021 16:35:24 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Tom Rini <trini@konsulko.com>, Stephen Warren <swarren@wwwdotorg.org>, Stephen Warren <swarren@nvidia.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v5 04/41] sandbox: Drop the 'starting...' message Date: Sun, 7 Mar 2021 17:34:40 -0700 Message-Id: <20210308003517.1574569-5-sjg@chromium.org> X-Mailer: git-send-email 2.30.1.766.gb4fecdf3b7-goog In-Reply-To: <20210308003517.1574569-1-sjg@chromium.org> References: <20210308003517.1574569-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <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>, <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.102.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
test: Refactor tests to have a single test runner
|
expand
|
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index c4c4128d465..e87365e800d 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -491,7 +491,6 @@ int main(int argc, char *argv[]) gd->reloc_off = (ulong)gd->arch.text_base; /* sandbox test: log functions called before log_init in board_init_f */ - log_info("sandbox: starting...\n"); log_debug("debug: %s\n", __func__); /* Do pre- and post-relocation init */ diff --git a/test/py/tests/test_log.py b/test/py/tests/test_log.py index f889120f2b3..140dcb9aa2b 100644 --- a/test/py/tests/test_log.py +++ b/test/py/tests/test_log.py @@ -45,5 +45,4 @@ def test_log_dropped(u_boot_console): cons = u_boot_console cons.restart_uboot() output = cons.get_spawn_output().replace('\r', '') - assert 'sandbox: starting...' in output assert (not 'debug: main' in output)
This message is annoying since it is only useful for testing. Drop it and update the test to cope. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v5: - Update the test so we don't need a flag arch/sandbox/cpu/start.c | 1 - test/py/tests/test_log.py | 1 - 2 files changed, 2 deletions(-)