From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id D90CC10E0D5 for ; Thu, 30 Mar 2023 05:42:28 +0000 (UTC) Received: from linux.intel.com (mwrzeszc-mobl1.ger.corp.intel.com [10.252.27.169]) (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 F22135808A1 for ; Wed, 29 Mar 2023 22:42:26 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96) (envelope-from ) id 1phl3I-00B50l-2j for igt-dev@lists.freedesktop.org; Thu, 30 Mar 2023 07:42:24 +0200 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Thu, 30 Mar 2023 07:42:14 +0200 Message-Id: <20230330054221.2640814-6-mauro.chehab@linux.intel.com> In-Reply-To: <20230330054221.2640814-1-mauro.chehab@linux.intel.com> References: <20230330054221.2640814-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2 05/12] 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