Tests catalog
v5 cover Tests catalog
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 v5:
- add hugepages, ulimit, resource_files, save_restore
- add more comments in the code
- fix multiline table cells
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- show maximum runtime with timeout text
- correct timeout text
- Link to v3: https://lore.kernel.org/r/[email protected]
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]
---
Andrea Cervesato (2):
doc: remove margin for multiline cells
doc: add tests catalog page
doc/.gitignore | 1 + doc/_static/custom.css | 5 + doc/conf.py | 274 ++++++++++++++++++++++++++++++++++++++++++++- doc/index.rst | 4 + doc/users/test_catalog.rst | 7 ++ 5 files changed, 287 insertions(+), 4 deletions(-)
---
base-commit: 7f3922a2499ebff6134c37a17a0de6012a318fb4
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
PATCH v5 1/2 doc: remove margin for multiline cells
From: Andrea Cervesato <[email protected]>
Multiline table's cells show a margin at the end of them. Remove the margin by setting 'margin-bottom: 0' in the CSS table declaration style.
--- doc/_static/custom.css | 5 +++++ 1 file changed, 5 insertions(+)
doc/_static/custom.css +5 -0
@@ -2,3 +2,8 @@ .wy-table-responsive table td { white-space: normal; } + +/* remove margin for multiline cells */ +.rst-content table td div.line-block { + margin-bottom: 0; +}
Signature · 5 lines
2.43.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Re: [LTP] [PATCH v5 1/2] doc: remove margin for multiline cells
Hi Andrea,
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v5 2/2 doc: add tests catalog page
In reply to Andrea CervesatoFrom: 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.
--- doc/.gitignore | 1 + doc/conf.py | 274 ++++++++++++++++++++++++++++++++++++++++++++- doc/index.rst | 4 + doc/users/test_catalog.rst | 7 ++ 4 files changed, 282 insertions(+), 4 deletions(-)
doc/.gitignore +1 -0
@@ -1,4 +1,5 @@ html/ build/ _static/syscalls.rst +_static/tests.rst syscalls.tbl
doc/conf.py +270 -4
319 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 +
Signature · 5 lines
2.43.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Re: [LTP] [PATCH v5 2/2] doc: add tests catalog page
Hi Andrea,
Thanks for extra comments to _generate_setup_table().
There is quite a lot of warnings. I'm not suggesting we should fix them (I don't want to block this, let's merge it today), but more warnings and errors we get the worse is to find a real problem which might appear in the future.
I might take time in the future to fix them - some of them could be easily fixed and some of the warning means part of the description got lost, e.g. "1. First test case" and "2. Second test case" in mountns0[1-3].c is not followed by the actual description "X: bind mounts DIR_B to DIR_A", indent is also wrong. This means sphinx syntax (reST) is not 100% compatible to asciidoc{,tor} syntax. Syntax problems are also visible in Vim with highlighting on.
_static/tests.rst:557: WARNING: Inline interpreted text or phrase reference start-string without end-string.
The code mmap(2)s reg
=> using unnecessary ... (for formatting as code it would be ``..``, but I would just remove it.
_static/tests.rst:693: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:694: WARNING: Enumerated list ends without a blank line; unexpected unindent. _static/tests.rst:697: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:698: WARNING: Enumerated list ends without a blank line; unexpected unindent.
_static/tests.rst:742: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:743: WARNING: Enumerated list ends without a blank line; unexpected unindent. _static/tests.rst:746: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:747: WARNING: Enumerated list ends without a blank line; unexpected unindent. _static/tests.rst:792: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:793: WARNING: Enumerated list ends without a blank line; unexpected unindent.
These are the lost description.
_static/tests.rst:796: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:797: WARNING: Enumerated list ends without a blank line; unexpected unindent.
_static/tests.rst:2530: ERROR: Unexpected indentation.
=> FYI this one might be '.' instead of '*'
. It writes instead of reads to fill the page cache. Because no
pages were allocated on tmpfs.
_static/tests.rst:2531: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:2533: ERROR: Unexpected indentation._static/tests.rst:9425: WARNING: Inline emphasis start-string without end-string. _static/tests.rst:11685: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:12122: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:14986: ERROR: Unexpected indentation._static/tests.rst:14987: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:15779: ERROR: Unexpected indentation._static/tests.rst:15781: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:15787: WARNING: Definition list ends without a blank line; unexpected unindent. _static/tests.rst:17886: WARNING: Enumerated list ends without a blank line; unexpected unindent. _static/tests.rst:17887: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:17888: WARNING: Enumerated list ends without a blank line; unexpected unindent. _static/tests.rst:24631: ERROR: Unexpected indentation._static/tests.rst:24632: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:24766: ERROR: Unexpected indentation._static/tests.rst:27685: WARNING: Enumerated list ends without a blank line; unexpected unindent. _static/tests.rst:27820: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:33084: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:33085: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:33610: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:34692: ERROR: Unexpected indentation._static/tests.rst:34694: WARNING: Block quote ends without a blank line; unexpected unindent. _static/tests.rst:34722: ERROR: Unexpected indentation._static/tests.rst:35279: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:35309: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:39506: WARNING: Bullet list ends without a blank line; unexpected unindent. _static/tests.rst:41852: WARNING: Inline emphasis start-string without end-string. _static/tests.rst:41855: WARNING: Inline emphasis start-string without end-string. _static/tests.rst:41858: WARNING: Inline emphasis start-string without end-string. _static/tests.rst:41862: WARNING: Inline emphasis start-string without end-string. _static/tests.rst:41866: WARNING: Inline emphasis start-string without end-string. _static/tests.rst:41869: WARNING: Inline emphasis start-string without end-string.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Re: [LTP] [PATCH v5 2/2] doc: add tests catalog page
Hi Petr,
Quoted 10 lines · Petr Vorel
Hi Andrea,
Acked-by Petr Vorel<[email protected]>Thanks for extra comments to
_generate_setup_table().There is quite a lot of warnings. I'm not suggesting we should fix them (I don't want to block this, let's merge it today), but more warnings and errors we get the worse is to find a real problem which might appear in the future.
Quoted 7 lines
I might take time in the future to fix them - some of them could be easily fixed and some of the warning means part of the description got lost, e.g. "1. First test case" and "2. Second test case" in mountns0[1-3].c is not followed by the actual description "X: bind mounts
DIR_BtoDIR_A", indent is also wrong. This means sphinx syntax (reST) is not 100% compatible to asciidoc{,tor} syntax. Syntax problems are also visible in Vim with highlighting on.
The warnings are all related to the asciidoc format which needs to be converted into RST. The meaning of these patches was also to introduce this change.
Andrea
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Re: [LTP] [PATCH v5 2/2] doc: add tests catalog page
Quoted 20 lines
Hi Petr,
Quoted 10 lines · Petr Vorel
Hi Andrea,
Acked-by Petr Vorel<[email protected]>Thanks for extra comments to
_generate_setup_table().There is quite a lot of warnings. I'm not suggesting we should fix them (I don't want to block this, let's merge it today), but more warnings and errors we get the worse is to find a real problem which might appear in the future.
Quoted 7 lines
I might take time in the future to fix them - some of them could be easily fixed and some of the warning means part of the description got lost, e.g. "1. First test case" and "2. Second test case" in mountns0[1-3].c is not followed by the actual description "X: bind mounts
DIR_BtoDIR_A", indent is also wrong. This means sphinx syntax (reST) is not 100% compatible to asciidoc{,tor} syntax. Syntax problems are also visible in Vim with highlighting on.
Quoted 2 lines
The warnings are all related to the asciidoc format which needs to be converted into RST.
OK. I'll have look into the fixes tomorrow.
I'll also prepare the docparse/ removal.
Quoted 1 line
The meaning of these patches was also to introduce this change.
Ah, I was not aware of the slight difference until seeing it in the action. But sure, not a big deal.
Kind regards,
Petr
Quoted 1 line
Andrea
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Andrea Cervesato via ltp
AppliedHi!
Merged, thanks for the reviews.
Andrea
Quoted 43 lines · Andrea Cervesato
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.
Signed-off-by Andrea Cervesato <[email protected]>---
Changes in v5:
- add hugepages, ulimit,resource_files,save_restore
- add more comments in the code
- fix multiline table cells
- Link to v4: https://lore.kernel.org/r/[email protected]Changes in v4:
- show maximum runtime with timeout text
- correct timeout text
- Link to v3: https://lore.kernel.org/r/[email protected]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]---
Andrea Cervesato (2):
doc: remove margin for multiline cells
doc: add tests catalog pagedoc/.gitignore | 1 + doc/_static/custom.css | 5 + doc/conf.py | 274 ++++++++++++++++++++++++++++++++++++++++++++- doc/index.rst | 4 + doc/users/test_catalog.rst | 7 ++ 5 files changed, 287 insertions(+), 4 deletions(-)---
base-commit:7f3922a2499ebff6134c37a17a0de6012a318fb4
change-id: 20250131-doc_tests_list-1b82f51e43fdBest regards,
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp