[LTP] [PATCH 1/1] doc/C-API: Move .min_mem_avail below .min_cpus

Petr Vorel pvorel@suse.cz
Tue Jun 27 20:31:14 CEST 2023


From: Petr Vorel <petr.vorel@gmail.com>

Required minimum of CPU and RAM are related topics,
it's better to have together.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 doc/c-test-api.txt | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/c-test-api.txt b/doc/c-test-api.txt
index dcb6e1ba8..9106758d7 100644
--- a/doc/c-test-api.txt
+++ b/doc/c-test-api.txt
@@ -2328,7 +2328,13 @@ both V1 and V2 feasible.
 Some tests require more than specific number of CPU. It can be defined with
 `.min_cpus = N`.
 
-1.38 Test tags
+1.38 Require minimum size of MemAvailable for a testcase
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Some tests require more than specific size(MB) of MemAvailable. It can be defined
+with `.min_mem_avail = N`.
+
+1.39 Test tags
 ~~~~~~~~~~~~~~
 
 Test tags are name-value pairs that can hold any test metadata.
@@ -2370,7 +2376,7 @@ struct tst_test test = {
 };
 -------------------------------------------------------------------------------
 
-1.39 Testing on the specific architecture
+1.40 Testing on the specific architecture
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Testcases for specific arch should be limited on that only being supported
 platform to run, we now involve a .supported_archs to achieve this feature
@@ -2406,12 +2412,6 @@ static struct tst_test test = {
 };
 -------------------------------------------------------------------------------
 
-1.40 Require minimum size of MemAvailable for a testcase
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Some tests require more than specific size(MB) of MemAvailable. It can be defined
-with `.min_mem_avail = N`.
-
 2. Common problems
 ------------------
 
-- 
2.40.1



More information about the ltp mailing list