From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id DB6F910E266 for ; Mon, 30 Oct 2023 09:52:11 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.2.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 1A035580E5F for ; Mon, 30 Oct 2023 02:52:10 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96.1) (envelope-from ) id 1qxOwK-000S84-09 for igt-dev@lists.freedesktop.org; Mon, 30 Oct 2023 10:52:08 +0100 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Mon, 30 Oct 2023 10:49:58 +0100 Message-ID: <20231030095206.108025-4-mauro.chehab@linux.intel.com> In-Reply-To: <20231030095206.108025-1-mauro.chehab@linux.intel.com> References: <20231030095206.108025-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2 3/7] runner/runner_tests: Fix name of no-subtests in unit tests List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Petri Latvala Now that runner normalizes no-subtest entries in testlists, make sure the name matches what's available. Acked-by: Mauro Carvalho Chehab Signed-off-by: Petri Latvala --- runner/runner_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/runner_tests.c b/runner/runner_tests.c index e6024de11a60..11ff05bc0e7e 100644 --- a/runner/runner_tests.c +++ b/runner/runner_tests.c @@ -802,7 +802,7 @@ igt_main char filename[] = "tmplistXXXXXX"; const char testlisttext[] = "igt@successtest@first-subtest\n" "igt@successtest@second-subtest\n" - "igt@nosubtests\n"; + "igt@no-subtests\n"; int multiple; struct job_list *list = malloc(sizeof(*list)); @@ -830,7 +830,7 @@ igt_main igt_assert_eqstr(list->entries[0].binary, "successtest"); if (!multiple) igt_assert_eqstr(list->entries[1].binary, "successtest"); - igt_assert_eqstr(list->entries[multiple ? 1 : 2].binary, "nosubtests"); + igt_assert_eqstr(list->entries[multiple ? 1 : 2].binary, "no-subtests"); igt_assert_eq(list->entries[0].subtest_count, multiple ? 2 : 1); igt_assert_eq(list->entries[1].subtest_count, multiple ? 0 : 1); -- 2.41.0