doc: add tests catalog page
PATCH v3 1/1 doc: add tests catalog page
From: Andrea Cervesato <[email protected]>
Add a new section in the LTP documentation website, where we list all tests which are available in LTP and supporting new API.
---
This patch-set is meant to introduce a new page in the LTP
documentation, showing tests which are currently available with their description and information.
---
Changes in v3:
- fix table widths alignment
- add warning at the beginning of the test catalog
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- add setup
- cleanup code
- Link to v1: https://lore.kernel.org/r/[email protected]
--- doc/.gitignore | 1 + doc/conf.py | 267 ++++++++++++++++++++++++++++++++++++++++++++- doc/index.rst | 4 + doc/users/test_catalog.rst | 7 ++ 4 files changed, 275 insertions(+), 4 deletions(-)
doc/.gitignore +1 -0
@@ -1,4 +1,5 @@ html/ build/ _static/syscalls.rst +_static/tests.rst syscalls.tbl
doc/conf.py +263 -4
312 lines not on this page · raw message
doc/index.rst +4 -0
@@ -11,6 +11,7 @@ users/setup_tests users/supported_systems users/stats + users/test_catalog .. toctree:: :maxdepth: 3
@@ -54,6 +55,9 @@ For users :doc:`users/stats` Some LTP statistics +:doc:`users/test_catalog` + The LTP test catalog + For developers --------------
doc/users/test_catalog.rst new file +7 -0
@@ -0,0 +1,7 @@ +.. SPDX-License-Identifier: GPL-2.0-or-later + +Test catalog +============ + +.. include:: ../_static/tests.rst +
---
base-commit: 07d79673a65f0f5f06c19507df4a15ceab22f2f9
change-id: 20250131-doc_tests_list-1b82f51e43fd
Best regards,
Signature · 5 lines
Andrea Cervesato <[email protected]> -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
doc/conf.py def generate_syscalls_stats(_): · line 475
Quoted 6 lines
doc/conf.py +6
-0+ # timeout information + timeout = conf.get('timeout', None) + if timeout: + text.extend([ + '', + f'Test timeout to {timeout} seconds.',
^ is
doc/conf.py def generate_syscalls_stats(_): · line 483
Quoted 8 lines
doc/conf.py +8
-0+ '' + ]) + else: + text.extend([ + '', + f'Test timeout defaults to {timeout_def} seconds.', + '' + ])
Maybe it would make sense to add runtime here as well since it's logically connected to the timeout.
Otherwise:
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Quoted 17 lines · Cyril Hrubis
Hi!
doc/conf.py def generate_syscalls_stats(_): · line 475
Quoted 6 lines
doc/conf.py +6
-0+ # timeout information + timeout = conf.get('timeout', None) + if timeout: + text.extend([ + '', + f'Test timeout to {timeout} seconds.',^ isdoc/conf.py def generate_syscalls_stats(_): · line 483
Quoted 8 lines
doc/conf.py +8
-0+ '' + ]) + else: + text.extend([ + '', + f'Test timeout defaults to {timeout_def} seconds.', + '' + ])
Quoted 2 lines
Maybe it would make sense to add runtime here as well since it's logically connected to the timeout.
Probably yes. I will add it and correct the text.
Quoted 5 lines
Otherwise:
Acked-by Cyril Hrubis <[email protected]>
Andrea
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp