diff options
author | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-04-20 08:38:33 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-05-17 17:05:28 +0200 |
commit | 8a9dd2017e66e1e324f57621ce3c1f63a861364a (patch) | |
tree | a6fee72d5981cc8aaf5d9d20d16d5a030e52912a /docs | |
parent | a19a081d1b8a8f902d7d8009a6ea6c471d5531ad (diff) |
testplan/meson.build: add i915 support for a testplan document
Prepare to support documenting the i915 tests via in-code macros, in a
similar way to how Xe tests are documented.
For now, don't enable checking i915 documentation here, as this
may consume a lot of build time on desktops.
Please notice that we had to exclude documentation for
gem_concurrent_all.c, as there are too many subtests there:
${build}/tests/gem_concurrent_all --list|wc -l
428400
Adding documentation for all of them (even with wildcards) would
produce a very big document, seriously affecting build time.
Acked-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/testplan/conf.py | 2 | ||||
-rw-r--r-- | docs/testplan/meson.build | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/docs/testplan/conf.py b/docs/testplan/conf.py index a73ad99b0..a7db5c3a2 100644 --- a/docs/testplan/conf.py +++ b/docs/testplan/conf.py @@ -68,5 +68,5 @@ htmlhelp_basename = 'IGT' # rst2pdf pdf_documents = [ - ('index', u'xe_tests', u'IGT Xe Tests', u'IGT authors'), + ('index', u'tests', u'IGT Xe Tests', u'IGT authors'), ] diff --git a/docs/testplan/meson.build b/docs/testplan/meson.build index 6454f2933..6cd44be5c 100644 --- a/docs/testplan/meson.build +++ b/docs/testplan/meson.build @@ -8,6 +8,7 @@ stylesheet = join_paths(meson.current_source_dir(), 'testplan.css') xe_test_config = join_paths(source_root, 'tests', 'xe', 'xe_test_config.json') kms_test_config = join_paths(source_root, 'tests', 'kms_test_config.json') +i915_test_config = join_paths(source_root, 'tests', 'i915', 'i915_test_config.json') check_testlist = [] if build_tests @@ -29,11 +30,13 @@ xe_test_dict = { if build_xe test_dict = { + 'i915_tests': { 'input': i915_test_config, 'extra_args': [] }, 'kms_tests': { 'input': kms_test_config, 'extra_args': [] }, 'xe_tests': { 'input': xe_test_config, 'extra_args': check_testlist } } else test_dict = { + 'i915_tests': { 'input': i915_test_config, 'extra_args': [] }, 'kms_tests': { 'input': kms_test_config, 'extra_args': [] } } endif @@ -80,14 +83,14 @@ if sphinx.found() if rst2pdf.found() sphinx_out_pdf = meson.current_build_dir() + '/pdf' - custom_target('xe_tests.pdf', + custom_target('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' + output : 'tests.pdf' ) endif endif |