GNU bug report logs -
#11745
the new test-suite summary is confusing
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11745 in the body.
You can then email your comments to 11745 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#11745
; Package
automake
.
(Tue, 19 Jun 2012 17:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alexandre Duret-Lutz <adl <at> lrde.epita.fr>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Tue, 19 Jun 2012 17:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi!
I have a project that contains 8 different test-suites, each in its
own directory. Some test suite are big, other are small, but they
test different parts of the project and I like being able to run "make
check" in the relevant directory. They are run sequentially (with
SUBDIRS) when "make check" is run from the top-level.
I upgraded to Automake 1.12.1 to discover the each of these test-suite
now displays a huge summary like:
============================================================================
Testsuite summary for spot 0.9.1a
============================================================================
# TOTAL: 2
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
Instead of the older one-line summary I'm used too.
I can live with the extra verbosity, but I find the initial header
saying "Testsuite summary for spot 0.9.1a" in each of the test suites
very confusing. The above in definitely *not* a testsuite summary for
the project, it's only a test summary for one directory.
I think the easiest fix would be to change the header to just
"Testsuite summary", without mentioning the package.
Another option could be to let the test-suite be named in Makefile.am.
Maybe introduce
TESTS_DISPLAY_NAME = $(PACKAGE_STRING)
and use
echo "Testsuite summary for $(TESTS_DISPLAY_NAME)"
so that people with multiple test-suites can give them different names.
--
Alexandre Duret-Lutz
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11745
; Package
automake
.
(Tue, 02 Jun 2020 01:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11745 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Alexandre and all - regarding
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=11745 (12 years ago, oh well).
I upgraded to Automake 1.12.1 to discover the each of these test-suite
[directories] now displays a huge summary like:
============================================================================
Testsuite summary for spot 0.9.1a
...
The above in definitely *not* a testsuite summary for
the project, it's only a test summary for one directory.
Agreed, but:
I think the easiest fix would be to change the header to just
"Testsuite summary", without mentioning the package.
I don't think that's the right fix. In TeX Live, we have many different
packages, all in one Automake tree, and if every testsuite summary just
said "TeX Live", it would be difficult to discern what the summary was
reporting on. That is, the TL make check output starts like this:
Testsuite summary for Kpathsea 6.3.3/dev
..
Testsuite summary for zlib (TeX Live) 1.2.11
..
Testsuite summary for lua53 (TeX Live) 5.3.5
If all of those just said "TeX Live", it wouldn't be good.
I don't think we should change the default form of the Automake header
line at this late date, since some packages (and plenty of AM's own
tests) might well be expecting what's currently output.
So I propose to define a new variable in lib/am/check.am:
AM_TESTSUITE_SUMMARY_HEADER = " for $(PACKAGE_STRING)"
so the default is unchanged.
I made a simple test (t/testsuite-summary-header.sh) that checks various
settings of the new variable behave as expected, in particular, setting
it to the empty string for your case.
Proposed patch attached. make check and make distcheck still pass.
Jim, anyone, any comments? --thanks, karl.
[summary-hdr.patch (application/octet-stream, attachment)]
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11745
; Package
automake
.
(Sat, 06 Jun 2020 03:31:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 11745 <at> debbugs.gnu.org (full text, mbox):
On Mon, Jun 1, 2020 at 6:46 PM Karl Berry <karl <at> freefriends.org> wrote:
> Hi Alexandre and all - regarding
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=11745 (12 years ago, oh well).
>
> I upgraded to Automake 1.12.1 to discover the each of these test-suite
> [directories] now displays a huge summary like:
> ============================================================================
> Testsuite summary for spot 0.9.1a
> ...
> The above in definitely *not* a testsuite summary for
> the project, it's only a test summary for one directory.
>
> Agreed, but:
>
> I think the easiest fix would be to change the header to just
> "Testsuite summary", without mentioning the package.
>
> I don't think that's the right fix. In TeX Live, we have many different
> packages, all in one Automake tree, and if every testsuite summary just
> said "TeX Live", it would be difficult to discern what the summary was
> reporting on. That is, the TL make check output starts like this:
> Testsuite summary for Kpathsea 6.3.3/dev
> ..
> Testsuite summary for zlib (TeX Live) 1.2.11
> ..
> Testsuite summary for lua53 (TeX Live) 5.3.5
>
> If all of those just said "TeX Live", it wouldn't be good.
>
>
> I don't think we should change the default form of the Automake header
> line at this late date, since some packages (and plenty of AM's own
> tests) might well be expecting what's currently output.
>
> So I propose to define a new variable in lib/am/check.am:
> AM_TESTSUITE_SUMMARY_HEADER = " for $(PACKAGE_STRING)"
> so the default is unchanged.
Thanks, Karl!
This looks great. Only one minor suggestion: to use single quotes
there, rather than double:
AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
so that the replacement value is less likely to require additional escaping.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11745
; Package
automake
.
(Sat, 06 Jun 2020 22:49:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 11745 <at> debbugs.gnu.org (full text, mbox):
AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
I went back and forth on which quotes to use :).
Ok, accepted, pushed, thanks :). -k
Reply sent
to
Karl Berry <karl <at> freefriends.org>
:
You have taken responsibility.
(Sat, 06 Jun 2020 22:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alexandre Duret-Lutz <adl <at> lrde.epita.fr>
:
bug acknowledged by developer.
(Sat, 06 Jun 2020 22:49:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 05 Jul 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 345 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.