[LTP] [PATCH 1/1] doc: Document .min_cpus

Petr Vorel pvorel@suse.cz
Mon Dec 7 15:56:39 CET 2020


Recently added (in fa32a727d).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Feel free to document it more.

Kind regards,
Petr

 doc/test-writing-guidelines.txt | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/test-writing-guidelines.txt b/doc/test-writing-guidelines.txt
index 3c2ab7166..dcb5d9d43 100644
--- a/doc/test-writing-guidelines.txt
+++ b/doc/test-writing-guidelines.txt
@@ -2134,8 +2134,14 @@ struct tst_test test = {
 	.test_all = run,
 	...
 };
-
 -------------------------------------------------------------------------------
+
+2.2.37 Require minimum numbers of CPU for a testcase
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Some tests require more than single CPU. It can be defined with
+`.min_cpus = N`.
+
 2.3 Writing a testcase in shell
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-- 
2.29.2



More information about the ltp mailing list