* [LTP] [PATCH 1/1] lib: Add LTP_ENABLE_DEBUG to doc
@ 2025-05-15 13:59 Petr Vorel
2025-05-15 19:31 ` Petr Vorel
2025-07-22 13:19 ` Petr Vorel
0 siblings, 2 replies; 3+ messages in thread
From: Petr Vorel @ 2025-05-15 13:59 UTC (permalink / raw)
To: ltp
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Based on Cyril's patch:
https://patchwork.ozlabs.org/project/ltp/patch/20250515103146.14950-1-chrubis@suse.cz/
https://lore.kernel.org/ltp/20250515103146.14950-1-chrubis@suse.cz/
lib/tst_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/tst_test.c b/lib/tst_test.c
index 297c376da1..fbaf34acff 100644
--- a/lib/tst_test.c
+++ b/lib/tst_test.c
@@ -614,6 +614,7 @@ static void print_help(void)
fprintf(stderr, "KCONFIG_PATH Specify kernel config file\n");
fprintf(stderr, "KCONFIG_SKIP_CHECK Skip kernel config check if variable set (not set by default)\n");
fprintf(stderr, "LTPROOT Prefix for installed LTP (default: /opt/ltp)\n");
+ fprintf(stderr, "LTP_ENABLE_DEBUG When set to 1 or y enables debug info\n");
fprintf(stderr, "LTP_COLORIZE_OUTPUT Force colorized output behaviour (y/1 always, n/0: never)\n");
fprintf(stderr, "LTP_DEV Path to the block device to be used (for .needs_device)\n");
fprintf(stderr, "LTP_DEV_FS_TYPE Filesystem used for testing (default: %s)\n", DEFAULT_FS_TYPE);
--
2.49.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH 1/1] lib: Add LTP_ENABLE_DEBUG to doc
2025-05-15 13:59 [LTP] [PATCH 1/1] lib: Add LTP_ENABLE_DEBUG to doc Petr Vorel
@ 2025-05-15 19:31 ` Petr Vorel
2025-07-22 13:19 ` Petr Vorel
1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2025-05-15 19:31 UTC (permalink / raw)
To: ltp
Hi,
> Based on Cyril's patch:
> https://patchwork.ozlabs.org/project/ltp/patch/20250515103146.14950-1-chrubis@suse.cz/
> https://lore.kernel.org/ltp/20250515103146.14950-1-chrubis@suse.cz/
And that is exactly the reason why patch fails to build in CI
(patch is not applicable without Cyril's patch).
Here is the verification this simple patch does not fail to build:
https://github.com/pevik/ltp/actions/runs/15053601640
https://github.com/pevik/ltp/actions/runs/15053601653
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH 1/1] lib: Add LTP_ENABLE_DEBUG to doc
2025-05-15 13:59 [LTP] [PATCH 1/1] lib: Add LTP_ENABLE_DEBUG to doc Petr Vorel
2025-05-15 19:31 ` Petr Vorel
@ 2025-07-22 13:19 ` Petr Vorel
1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2025-07-22 13:19 UTC (permalink / raw)
To: ltp
Hi,
...
> diff --git a/lib/tst_test.c b/lib/tst_test.c
> index 297c376da1..fbaf34acff 100644
> --- a/lib/tst_test.c
> +++ b/lib/tst_test.c
> @@ -614,6 +614,7 @@ static void print_help(void)
> fprintf(stderr, "KCONFIG_PATH Specify kernel config file\n");
> fprintf(stderr, "KCONFIG_SKIP_CHECK Skip kernel config check if variable set (not set by default)\n");
> fprintf(stderr, "LTPROOT Prefix for installed LTP (default: /opt/ltp)\n");
> + fprintf(stderr, "LTP_ENABLE_DEBUG When set to 1 or y enables debug info\n");
FYI merged (slightly reworded).
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-22 13:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15 13:59 [LTP] [PATCH 1/1] lib: Add LTP_ENABLE_DEBUG to doc Petr Vorel
2025-05-15 19:31 ` Petr Vorel
2025-07-22 13:19 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox