public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] tst_test: Document @message, @scall, @sample
@ 2024-06-20  6:02 Petr Vorel
  2024-06-25 15:23 ` Avinesh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2024-06-20  6:02 UTC (permalink / raw)
  To: ltp

All undocumented members are in the library "undescribed",
better to document the purpose.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 include/tst_test.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/tst_test.h b/include/tst_test.h
index 8dc20d110..20960e9b9 100644
--- a/include/tst_test.h
+++ b/include/tst_test.h
@@ -428,6 +428,10 @@ struct tst_ulimit_val {
  *            can be set. May be executed several times if test was passed '-i'
  *            or '-d' command line parameters.
  *
+ * @scall: Internal only (timer measurement library).
+ *
+ * @sample: Internal only (timer measurement library).
+ *
  * @resource_files: A NULL terminated array of filenames that will be copied
  *                  to the test temporary directory from the LTP datafiles
  *                  directory.
@@ -642,6 +646,8 @@ int main(int argc, char *argv[])
 /**
  * TST_TEST_TCONF() - Exit tests with a TCONF message.
  *
+ * @message: Error message (the reason to skip test).
+ *
  * This macro is used in test that couldn't be compiled either because current
  * CPU architecture is unsupported or because of missing development libraries.
  */
-- 
2.45.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH 1/1] tst_test: Document @message, @scall, @sample
  2024-06-20  6:02 [LTP] [PATCH 1/1] tst_test: Document @message, @scall, @sample Petr Vorel
@ 2024-06-25 15:23 ` Avinesh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Avinesh Kumar @ 2024-06-25 15:23 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

Hi,

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

On Thursday, June 20, 2024 8:02:03 AM GMT+2 you wrote:
> All undocumented members are in the library "undescribed",
> better to document the purpose.
> 
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  include/tst_test.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/include/tst_test.h b/include/tst_test.h
> index 8dc20d110..20960e9b9 100644
> --- a/include/tst_test.h
> +++ b/include/tst_test.h
> @@ -428,6 +428,10 @@ struct tst_ulimit_val {
>   *            can be set. May be executed several times if test was passed '-i'
>   *            or '-d' command line parameters.
>   *
> + * @scall: Internal only (timer measurement library).
> + *
> + * @sample: Internal only (timer measurement library).
> + *
>   * @resource_files: A NULL terminated array of filenames that will be copied
>   *                  to the test temporary directory from the LTP datafiles
>   *                  directory.
> @@ -642,6 +646,8 @@ int main(int argc, char *argv[])
>  /**
>   * TST_TEST_TCONF() - Exit tests with a TCONF message.
>   *
> + * @message: Error message (the reason to skip test).
> + *
>   * This macro is used in test that couldn't be compiled either because current
>   * CPU architecture is unsupported or because of missing development libraries.
>   */
> 

Regards,
Avinesh



-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-25 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20  6:02 [LTP] [PATCH 1/1] tst_test: Document @message, @scall, @sample Petr Vorel
2024-06-25 15:23 ` Avinesh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox