* [LTP] [PATCH v2 1/1] configure.ac: Print summary
@ 2021-12-02 20:30 Petr Vorel
2021-12-03 11:09 ` Jan Stancek
0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2021-12-02 20:30 UTC (permalink / raw)
To: ltp
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.
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v2 1/1] configure.ac: Print summary
2021-12-02 20:30 [LTP] [PATCH v2 1/1] configure.ac: Print summary Petr Vorel
@ 2021-12-03 11:09 ` Jan Stancek
2021-12-06 10:26 ` Petr Vorel
0 siblings, 1 reply; 7+ messages in thread
From: Jan Stancek @ 2021-12-03 11:09 UTC (permalink / raw)
To: Petr Vorel; +Cc: LTP List
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
>
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v2 1/1] configure.ac: Print summary
2021-12-03 11:09 ` Jan Stancek
@ 2021-12-06 10:26 ` Petr Vorel
2021-12-07 13:01 ` Richard Palethorpe
0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2021-12-06 10:26 UTC (permalink / raw)
To: Jan Stancek; +Cc: LTP List
Hi Jan,
> 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>
Thanks! I can have look on colors later on, but I'd prefer to do it as a
separate approach.
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v2 1/1] configure.ac: Print summary
2021-12-06 10:26 ` Petr Vorel
@ 2021-12-07 13:01 ` Richard Palethorpe
2021-12-07 17:09 ` Petr Vorel
0 siblings, 1 reply; 7+ messages in thread
From: Richard Palethorpe @ 2021-12-07 13:01 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp
Hello,
Petr Vorel <pvorel@suse.cz> writes:
> Hi Jan,
>
>> 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>
>
> 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!
--
Thank you,
Richard.
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v2 1/1] configure.ac: Print summary
2021-12-07 13:01 ` Richard Palethorpe
@ 2021-12-07 17:09 ` Petr Vorel
2021-12-07 19:42 ` Cyril Hrubis
0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2021-12-07 17:09 UTC (permalink / raw)
To: Richard Palethorpe; +Cc: ltp
Hi Richie, Jan,
> Hello,
> Petr Vorel <pvorel@suse.cz> writes:
> > Hi Jan,
> >> 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>
> > 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?
There might be some third party plugin, but I haven't found any.
> Anyway, pushed!
Ah, thanks!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v2 1/1] configure.ac: Print summary
2021-12-07 17:09 ` Petr Vorel
@ 2021-12-07 19:42 ` Cyril Hrubis
2021-12-08 5:43 ` Petr Vorel
0 siblings, 1 reply; 7+ messages in thread
From: Cyril Hrubis @ 2021-12-07 19:42 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp
Hi!
> > 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
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v2 1/1] configure.ac: Print summary
2021-12-07 19:42 ` Cyril Hrubis
@ 2021-12-08 5:43 ` Petr Vorel
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2021-12-08 5:43 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: ltp
Hi Cyril,
> Hi!
> > > 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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-12-08 5:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02 20:30 [LTP] [PATCH v2 1/1] configure.ac: Print summary Petr Vorel
2021-12-03 11:09 ` Jan Stancek
2021-12-06 10:26 ` Petr Vorel
2021-12-07 13:01 ` Richard Palethorpe
2021-12-07 17:09 ` Petr Vorel
2021-12-07 19:42 ` Cyril Hrubis
2021-12-08 5:43 ` Petr Vorel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.