From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC66410E513 for ; Thu, 10 Aug 2023 12:34:07 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.17.210]) (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 8F99F580AFF for ; Thu, 10 Aug 2023 05:34:06 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96) (envelope-from ) id 1qU4rc-0044FO-22 for igt-dev@lists.freedesktop.org; Thu, 10 Aug 2023 14:34:04 +0200 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Thu, 10 Aug 2023 14:32:31 +0200 Message-ID: <20230810123402.969597-4-mauro.chehab@linux.intel.com> In-Reply-To: <20230810123402.969597-1-mauro.chehab@linux.intel.com> References: <20230810123402.969597-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 3/3] [RFC] scripts/test_list.py: enforce mandatory fields to be filled List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Mauro Carvalho Chehab If they won't be filled, compilation will break. Signed-off-by: Mauro Carvalho Chehab --- scripts/test_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_list.py b/scripts/test_list.py index c23d6d735edf..d52cf23a18ad 100755 --- a/scripts/test_list.py +++ b/scripts/test_list.py @@ -1000,7 +1000,7 @@ class TestList: if run_missing: for test_name in run_missing: print(f'Warning: Missing documentation for {test_name}') - if doc_uneeded or run_missing: + if doc_uneeded or run_missing or missing_mandatory_fields: sys.exit(1) # -- 2.41.0