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

Avinesh Kumar akumar@suse.de
Thu Jun 29 06:24:08 CEST 2023


Reviewed-by: Avinesh Kumar <akumar@suse.de>

On Wednesday, June 28, 2023 12:01:14 AM IST Petr Vorel wrote:
> 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
>  ------------------






More information about the ltp mailing list