From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id E62C710E042 for ; Wed, 22 Mar 2023 06:50:10 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.26.250]) (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 91E91580D9C for ; Tue, 21 Mar 2023 23:50:09 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96) (envelope-from ) id 1pesIR-007NXi-1U for igt-dev@lists.freedesktop.org; Wed, 22 Mar 2023 07:50:07 +0100 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Wed, 22 Mar 2023 07:50:03 +0100 Message-Id: <20230322065003.1758611-9-mauro.chehab@linux.intel.com> In-Reply-To: <20230322065003.1758611-1-mauro.chehab@linux.intel.com> References: <20230322065003.1758611-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v4 8/8] testplan/meson.build: re-indent 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 As other meson.build files are using tabs to align, replace spaces with tabs here too. Just cosmetic changes. Signed-off-by: Mauro Carvalho Chehab --- docs/testplan/meson.build | 94 +++++++++++++++++++-------------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/docs/testplan/meson.build b/docs/testplan/meson.build index 10ea4be9a3f5..fee568868167 100644 --- a/docs/testplan/meson.build +++ b/docs/testplan/meson.build @@ -9,65 +9,65 @@ stylesheet = join_paths(meson.current_source_dir(), 'testplan.css') xe_test_config = join_paths(source_root, 'tests', 'xe', 'xe_test_config.json') if not build_tests - test_executables = [] + test_executables = [] endif -test_dict = { 'xe_tests': { - 'input': xe_test_config, 'extra_args': [] - } - } +test_dict = { 'xe_tests': + { 'input': xe_test_config, 'extra_args': [] } + } foreach testplan, fields: test_dict - rst = custom_target(testplan + '.rst', - build_by_default : true, - command : [ igt_doc_script, '--config', '@INPUT@', '--rest', '@OUTPUT@' ] + fields['extra_args'], - depends : test_executables, - input : fields['input'], - output : testplan + '.rst' - ) + rst = custom_target(testplan + '.rst', + build_by_default : true, + command : [ igt_doc_script, '--config', '@INPUT@', '--rest', '@OUTPUT@' ] + fields['extra_args'], + depends : test_executables, + input : fields['input'], + output : testplan + '.rst' + ) - if rst2html.found() - custom_target(testplan + '.html', - build_by_default : true, - command : [ rst2html, '--stylesheet=' + stylesheet, '--field-name-limit=0', '@INPUT@', '@OUTPUT@' ], - input : rst, - output : testplan + '.html' - ) - endif + if rst2html.found() + custom_target(testplan + '.html', + build_by_default : true, + command : [ rst2html, '--stylesheet=' + stylesheet, '--field-name-limit=0', '@INPUT@', '@OUTPUT@' ], + input : rst, + output : testplan + '.html' + ) + endif endforeach if sphinx.found() - if gen_rst_index.found() - sphinx_out_dir = meson.current_build_dir()+ '/indexed_html' + if gen_rst_index.found() + sphinx_out_dir = meson.current_build_dir()+ '/indexed_html' - index_rst = custom_target('index.rst', - build_by_default : true, - command : [ gen_rst_index, testplan_title, test_dict.keys(), meson.current_build_dir()], - input : rst, - output : 'index.rst' - ) + index_rst = custom_target('index.rst', + build_by_default : true, + command : [ gen_rst_index, testplan_title, test_dict.keys(), meson.current_build_dir()], + input : rst, + output : 'index.rst' + ) - custom_target('index.html', - build_by_default : true, - command : [ 'sphinx-build', '-c', meson.current_source_dir(), meson.current_build_dir(), sphinx_out_dir], - input : index_rst, - output : 'index.html' - ) - endif + custom_target('index.html', + build_by_default : true, + command : [ 'sphinx-build', '-c', meson.current_source_dir(), + meson.current_build_dir(), sphinx_out_dir], + input : index_rst, + output : 'index.html' + ) + endif - if rst2pdf.found() - sphinx_out_pdf = meson.current_build_dir() + '/pdf' + if rst2pdf.found() + sphinx_out_pdf = meson.current_build_dir() + '/pdf' - custom_target('xe_tests.pdf', - build_by_default : true, - command : [ 'sphinx-build', '-c', meson.current_source_dir(), - '-b', 'pdf', - '-D', 'version=' + meson.project_version(), - meson.current_build_dir(), sphinx_out_pdf], - input : index_rst, - output : 'xe_tests.pdf' - ) - endif + custom_target('xe_tests.pdf', + build_by_default : true, + command : [ 'sphinx-build', '-c', meson.current_source_dir(), + '-b', 'pdf', + '-D', 'version=' + meson.project_version(), + meson.current_build_dir(), sphinx_out_pdf], + input : index_rst, + output : 'xe_tests.pdf' + ) + endif endif build_info += 'Build simple html testplan documentation: @0@'.format(rst2html.found()) -- 2.39.2