Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 278C1C38A02 for ; Sun, 30 Oct 2022 01:50:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 39C8B8515D; Sun, 30 Oct 2022 02:48:07 +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="EXukRqZZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6519585118; Sun, 30 Oct 2022 02:47:51 +0100 (CET) Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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 1D5978511C for ; Sun, 30 Oct 2022 02:47:47 +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-il1-x131.google.com with SMTP id g13so4796189ile.0 for ; Sat, 29 Oct 2022 18:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=SM1lFIoCbOEryvrd78PnnttfEybr5DxcbzDZk9k7mAQ=; b=EXukRqZZfoB+OT5xSFs9hbSK++hc20Rwl+NMmEX+k7pgZu/03Va9jlcw1gmrshHEZ9 xps3BvWtVLune8uQsJ0x5bs+0hf4FpGQpwOb1aVmsEHCnq8YpTy+FrJ1qGIFXn5o6opd reykbmECS8tGEkEhIvD1vduOSTSKh+hASCWaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=SM1lFIoCbOEryvrd78PnnttfEybr5DxcbzDZk9k7mAQ=; b=3TkFa8AnzT17h240kubwv84KMJbNkxDtkjMBzihMbD0qQRbg/aAdd0RiE8IoVdnNAg BBx1rqQlPH396eMMbHC9CljftB0FX5g9BmXN6P6gs8S3J+AA+dMAZUcam+uW/rxwvCVs 27bvD6y7pbOYqG7Bd55t9NehV/89myEYqM3df97DirnZqpZF8FfsyEReLeipew3wcj2z LmtLpz0z0Fa96u/aa60YxLQOKc8QhSwBUz7ejW2hN55FY0w1DJizEUuK+GuA5lXXOgJR EXvNlYO79bgeqjiFrytNnRIwOv7eS0ndd7H/ql4D6Mz7QH9V3mAlW4sbLdOQDd0fmoNt Vtgw== X-Gm-Message-State: ACrzQf3+cGZumyt8QhEXzXjT05CJdsrmxbHl6fJ+wuIib1glmO6DIIf6 wvEvEb8MuP9bH3vi4FeuFv4Q6lzLMeCarw== X-Google-Smtp-Source: AMsMyM6dkXu1z8Ixg7OUsdmsHJXaupmUtl+tJSVVIV7IkmWQjl2bQ3bkd6rweD0bC2AQCUeJrX/x4g== X-Received: by 2002:a05:6e02:180e:b0:2fc:6e7e:e491 with SMTP id a14-20020a056e02180e00b002fc6e7ee491mr3190826ilv.139.1667094465449; Sat, 29 Oct 2022 18:47:45 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id x66-20020a0294c8000000b00363c4307bb2sm810287jah.79.2022.10.29.18.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Oct 2022 18:47:45 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Heinrich Schuchardt , Simon Glass , Michal Suchanek , Sean Anderson , Stefan Roese Subject: [PATCH 07/17] test: Drop an unused parameter to ut_run_test_live_flat() Date: Sat, 29 Oct 2022 19:47:09 -0600 Message-Id: <20221030014719.147327-8-sjg@chromium.org> X-Mailer: git-send-email 2.38.1.273.g43a17bfeac-goog In-Reply-To: <20221030014719.147327-1-sjg@chromium.org> References: <20221030014719.147327-1-sjg@chromium.org> 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 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.6 at phobos.denx.de X-Virus-Status: Clean The select_name parameter is not used anymore. Drop it. Signed-off-by: Simon Glass --- test/test-main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test-main.c b/test/test-main.c index 954a280119e..a8c1b2ef6e2 100644 --- a/test/test-main.c +++ b/test/test-main.c @@ -432,12 +432,11 @@ static int ut_run_test(struct unit_test_state *uts, struct unit_test *test, * the first call to this function. On exit, @uts->fail_count is * incremented by the number of failures (0, one hopes) * @test: Test to run - * @name: Name of test, possibly skipping a prefix that should not be displayed * Return: 0 if all tests passed, -EAGAIN if the test should be skipped, -1 if * any failed */ static int ut_run_test_live_flat(struct unit_test_state *uts, - struct unit_test *test, const char *name) + struct unit_test *test) { int runs; @@ -537,7 +536,7 @@ static int ut_run_tests(struct unit_test_state *uts, const char *prefix, } old_fail_count = uts->fail_count; for (i = 0; i < uts->runs_per_test; i++) - ret = ut_run_test_live_flat(uts, test, select_name); + ret = ut_run_test_live_flat(uts, test); if (uts->fail_count != old_fail_count) { printf("Test %s failed %d times\n", select_name, uts->fail_count - old_fail_count); -- 2.38.1.273.g43a17bfeac-goog