[LTP] [PATCH v2 1/1] configure.ac: Print summary

Jan Stancek jstancek@redhat.com
Fri Dec 3 12:09:42 CET 2021


On Thu, Dec 2, 2021 at 9:30 PM Petr Vorel <pvorel@suse.cz> wrote:
>
> Due many checks of structs, members etc are chosen testsuites,
> presence of used libraries and docparser config results quite hidden.
> Print them as summary in the end.

Color output would be nice too. But I find this output useful in plain
text as well:
Acked-by: Jan Stancek <jstancek@redhat.com>

>
> Disadvantage of this is need to keep sync m4 macros with configure.ac
> also quite easily results can be misinterpreted.
>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  configure.ac | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 4751b14d2..063a8a9d1 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -381,3 +381,26 @@ test "x$with_tirpc" = xyes && LTP_CHECK_TIRPC
>  LTP_DETECT_HOST_CPU
>
>  AC_OUTPUT
> +
> +cat << EOF
> +
> +TESTSUITES
> +open posix testsuite: ${with_open_posix_testsuite:-no}
> +realtime testsuite: ${with_realtime_testsuite:-no}
> +
> +LIBRARIES
> +keyutils: ${have_keyutils:-no}
> +libacl: ${have_libacl:-no}
> +libaio: ${have_libaio:-no} (aio: ${have_aio:-no})
> +libcap: $cap_libs (newer: ${has_newer_libcap:-no})
> +libcrypto: $have_libcrypto (sha: ${have_sha:-no})
> +libmnl: ${have_libmnl:-no}
> +libnuma: ${have_libnuma:-no} (headers: ${have_numa_headers:-no}, v2 headers: ${have_numa_headers_v2:-no})
> +libtirpc: ${have_libtirpc:-no}
> +glibc SUN-RPC: ${have_rpc_glibc:-no}
> +
> +METADATA
> +metadata generator: $with_metadata_generator
> +HTML metadata: $with_metadata_html
> +PDF metadata: $with_metadata_pdf
> +EOF
> --
> 2.34.0
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>



More information about the ltp mailing list