Message ID | 20250515135934.498583-1-pvorel@suse.cz |
---|---|
State | New |
Headers | show |
Series | [1/1] lib: Add LTP_ENABLE_DEBUG to doc | expand |
Context | Check | Description |
---|---|---|
ltpci/alpine_latest_gcc | fail | failure |
ltpci/ubuntu_bionic_gcc | fail | failure |
ltpci/debian_testing_clang | fail | failure |
ltpci/debian_testing_gcc | fail | failure |
ltpci/debian_stable_gcc | fail | failure |
ltpci/ubuntu_jammy_gcc | fail | failure |
ltpci/debian_stable_s390x-linux-gnu-gcc_s390x | fail | failure |
ltpci/debian_stable_gcc | fail | failure |
ltpci/debian_stable_powerpc64le-linux-gnu-gcc_ppc64el | fail | failure |
ltpci/quay-io-centos-centos_stream9_gcc | fail | failure |
ltpci/debian_oldstable_gcc | fail | failure |
ltpci/debian_oldstable_clang | fail | failure |
ltpci/debian_stable_aarch64-linux-gnu-gcc_arm64 | fail | failure |
ltpci/opensuse-leap_latest_gcc | fail | failure |
ltpci/fedora_latest_clang | fail | failure |
ltpci/opensuse-archive_42-2_gcc | fail | failure |
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
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);
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(+)