From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2C0B310E785 for ; Tue, 14 Mar 2023 11:41:42 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.14.106]) (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 A0040580D53 for ; Tue, 14 Mar 2023 04:41:32 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96) (envelope-from ) id 1pc322-002j4L-2A for igt-dev@lists.freedesktop.org; Tue, 14 Mar 2023 12:41:30 +0100 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Tue, 14 Mar 2023 12:41:26 +0100 Message-Id: <20230314114127.649447-6-mauro.chehab@linux.intel.com> In-Reply-To: <20230314114127.649447-1-mauro.chehab@linux.intel.com> References: <20230314114127.649447-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 5/6] scripts/test_list.py: prepare to place class on a separate file 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 Rename scripts/igt_doc.py to scripts/test_list.py, preparing to split the main function from the class definition. That allows re-using the class by other programs as well. It also makes the module better organized, and ensures that all variables inside the class are not global. While this could be folded with the next patch, by splitting it on two, it makes a lot easier to review the code changes, as most of the contents of the igt_doc.py are actually the TestList class. The next patch will re-introduce scripts/igt_doc.py, dropping the global vars and the main code from test_list.py. Acked-by: Jari Tahvanainen Signed-off-by: Mauro Carvalho Chehab --- scripts/{igt_doc.py => test_list.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts/{igt_doc.py => test_list.py} (100%) diff --git a/scripts/igt_doc.py b/scripts/test_list.py similarity index 100% rename from scripts/igt_doc.py rename to scripts/test_list.py -- 2.39.2