configure.ac: Print summary
PATCH v2 1/1 configure.ac: Print summary
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.
Disadvantage of this is need to keep sync m4 macros with configure.ac also quite easily results can be misinterpreted.
--- configure.ac | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
configure.ac +23 -0
@@ -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
Signature · 5 lines
2.34.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 4 lines · Petr Vorel
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:
Quoted 47 lines
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 <[email protected]>--- configure.ac | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)configure.ac +23
-1@@ -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
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Jan,
Quoted 9 lines · Petr Vorel
Quoted 4 lines
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 <[email protected]>
Thanks! I can have look on colors later on, but I'd prefer to do it as a separate approach.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hello,
Quoted 12 lines · Petr Vorel
Hi Jan,
Quoted 9 lines · Petr Vorel
Quoted 4 lines
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 <[email protected]>
Quoted 5 lines
Thanks! I can have look on colors later on, but I'd prefer to do it as a separate approach.
Kind regards,
Petr
I wonder if colours can be added to all output with some autotools toggle?
Anyway, pushed!
Signature · 5 lines
Thank you, Richard. -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Richie, Jan,
Quoted 16 lines
Hello,
Quoted 11 lines · Petr Vorel
Hi Jan,
Quoted 9 lines · Petr Vorel
Quoted 4 lines
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 <[email protected]>
Quoted 7 lines
Quoted 5 lines
Thanks! I can have look on colors later on, but I'd prefer to do it as a separate approach.
Kind regards,
PetrI wonder if colours can be added to all output with some autotools toggle?
There might be some third party plugin, but I haven't found any.
Quoted 1 line
Anyway, pushed!
Ah, thanks!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Quoted 2 lines
Quoted 1 line
I wonder if colours can be added to all output with some autotools toggle?
There might be some third party plugin, but I haven't found any.
Actually you can override the default macros used to print the results as described in:
https://stackoverflow.com/questions/38729273/colorize-output-from-configure-script
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Cyril,
Quoted 8 lines
Hi!
Quoted 2 lines
Quoted 1 line
I wonder if colours can be added to all output with some autotools toggle?
There might be some third party plugin, but I haven't found any.
Actually you can override the default macros used to print the results as described in:
https://stackoverflow.com/questions/38729273/colorize-output-from-configure-script
Sure, I have found this as well, that's the way to go. I hoped that there would be for something so basic as colors some third party macro similar to pkg.m4 which could be just used.
As shown here, I suggest just to color yes as green and no as red.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp