From mboxrd@z Thu Jan 1 00:00:00 1970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55998C48BC1 for ; Fri, 9 Feb 2024 12:35:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EC7D910F39A; Fri, 9 Feb 2024 12:35:50 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="UqPIlgY7"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71D4C10F391 for ; Fri, 9 Feb 2024 12:35:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707482148; x=1739018148; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding:sender; bh=0hqA6Lkeqddsm0jI040hUGgeCM0RJLWOsfy4YVSOydg=; b=UqPIlgY7baFJanKQ4qAtvEI5zv92VsX42qOdyVpj8e/0xoVm9WZP7pqP lU2QTiu1mqgA8+xLaEbMIuPOHPcSX/sXiwPncnLrPGtErttvnnlHHKb/G l/nH3eU1bMfkZaEubPARW3RKAJHqgc8ZZ5WN/OJsWCW6l/92mOv5+kVJt e0ZrBJ1FyeqD8VML4HZLqx8+vLN6JaMcpgwpvtVgAlfD+EI1Iv1TXzy73 lHnsvM/WfM4jJ8+Ux4xTjhUMI23SRXSvIX115dYpK7Xqp6SUhVikn1Vl8 jk7mqWt5UFukpMWM2e1gi/wyA3FcBvVsFUiOTYrF7gjamIrFPMm/2Wye3 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="5272313" X-IronPort-AV: E=Sophos;i="6.05,256,1701158400"; d="scan'208";a="5272313" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2024 04:35:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="910699391" X-IronPort-AV: E=Sophos;i="6.05,256,1701158400"; d="scan'208";a="910699391" Received: from linux.intel.com ([10.54.29.200]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2024 04:35:47 -0800 Received: from linux.intel.com (unknown [10.245.246.46]) (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 249C4580DEE for ; Fri, 9 Feb 2024 04:35:47 -0800 (PST) Received: from maurocar by linux.intel.com with local (Exim 4.97.1) (envelope-from ) id 1rYQ6b-00000001DG6-0LPy for igt-dev@lists.freedesktop.org; Fri, 09 Feb 2024 13:35:45 +0100 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t v3 3/8] scripts/igt_doc.py: handle empty run_type Date: Fri, 9 Feb 2024 13:34:42 +0100 Message-ID: <20240209123543.289204-4-mauro.chehab@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240209123543.289204-1-mauro.chehab@linux.intel.com> References: <20240209123543.289204-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" From: Mauro Carvalho Chehab If run_type is not set, change it to "other". Signed-off-by: Mauro Carvalho Chehab --- scripts/igt_doc.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/igt_doc.py b/scripts/igt_doc.py index a6cbeee067fe..8a10db13081c 100755 --- a/scripts/igt_doc.py +++ b/scripts/igt_doc.py @@ -85,6 +85,9 @@ class IgtTestList(TestList): tests_per_list[driver] = {} for run_type in run_type_set: + if not run_type: + run_type = "other" + if run_type not in tests_per_list[driver]: tests_per_list[driver][run_type] = {} @@ -108,6 +111,10 @@ class IgtTestList(TestList): for driver, run_types in tests_per_list.items(): testlists[driver] = {} for run_type, subnames in run_types.items(): + + if not run_type: + run_type = "other" + for subname, gpus in subnames.items(): if not gpu_set: gpu = "default" -- 2.43.0