GNU bug report logs - #79086
check-DEJAGNU should produce less noise

Previous Next

Package: automake;

Reported by: Marc Nieper-Wißkirchen <marc.nieper+gnu <at> gmail.com>

Date: Thu, 24 Jul 2025 07:32:02 UTC

Severity: normal

To reply to this bug, email your comments to 79086 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#79086; Package automake. (Thu, 24 Jul 2025 07:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marc Nieper-Wißkirchen <marc.nieper+gnu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Thu, 24 Jul 2025 07:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marc Nieper-Wißkirchen <marc.nieper+gnu <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: check-DEJAGNU should produce less noise
Date: Thu, 24 Jul 2025 09:31:17 +0200
Hi,

At least in connection with the Automake running in silent mode, the
check-DEJAGNU target should produce no noise in the output. It
probably makes sense to hide all the shell logic behind "@". This also
makes it easier to detect actual errors/warnings generated by running
the target.

Thanks,

Marc




Information forwarded to bug-automake <at> gnu.org:
bug#79086; Package automake. (Thu, 24 Jul 2025 20:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 79086 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: marc.nieper+gnu <at> gmail.com
Cc: 79086 <at> debbugs.gnu.org
Subject: Re: bug#79086: check-DEJAGNU should produce less noise
Date: Thu, 24 Jul 2025 14:50:41 -0600
Hi Marc,

    At least in connection with the Automake running in silent mode, the
    check-DEJAGNU target should produce no noise in the output. 

Thanks for the message. Sounds sensible to me, for silent mode. Do you
have a sample Makefile.am/configure.ac?  It would help me not to have to
construct them from scratch. --thanks, karl.




Information forwarded to bug-automake <at> gnu.org:
bug#79086; Package automake. (Fri, 25 Jul 2025 08:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 79086 <at> debbugs.gnu.org (full text, mbox):

From: Marc Nieper-Wißkirchen <marc.nieper+gnu <at> gmail.com>
To: Karl Berry <karl <at> freefriends.org>
Cc: marc.nieper+gnu <at> gmail.com, 79086 <at> debbugs.gnu.org
Subject: Re: bug#79086: check-DEJAGNU should produce less noise
Date: Fri, 25 Jul 2025 10:10:31 +0200
[Message part 1 (text/plain, inline)]
Hi Karl,

Am Do., 24. Juli 2025 um 22:50 Uhr schrieb Karl Berry <karl <at> freefriends.org>:
>
> Hi Marc,
>
>     At least in connection with the Automake running in silent mode, the
>     check-DEJAGNU target should produce no noise in the output.
>
> Thanks for the message. Sounds sensible to me, for silent mode. Do you
> have a sample Makefile.am/configure.ac?  It would help me not to have to
> construct them from scratch. --thanks, karl.

Sure. Here is a tree for a minimal project (see also the attached archive):

# ./configure.ac
AC_INIT([myproject], [0.1], [bug <at> example.com])
AM_INIT_AUTOMAKE([foreign dejagnu])
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
###

# ./Makefile.am
TESTS = ok

ok:
    $(AM_V_GEN)echo "#!/bin/sh" >$@
    @chmod a+x $@

CLEANFILES = ok

EXTRA_DIST = testsuite/config/unix.exp testsuite/lib/myproject.exp
testsuite/myproject.tests/myproject.exp
###

# ./testsuite/myproject.tests/myproject.exp
pass "trivial test"
###

# ./testsuite/config/unix.exp
# empty file
###

# ./testsuite/lib/myproject.exp
# empty file
###

You should then be able to run:
$ autoreconf -i
$ ./configure [--enable-silent]
$ make check-DEJAGNU
$ make check-TESTS

As you see, I added two test cases, one using the Dejagnu test driver
(that produces the noise) and one that uses the modern Automake
parallel test driver (which does not produce any noise, regardless of
the setting of the silent flag).

I hope you find this helpful.

Thanks,

Marc
[myproject.tar.gz (application/gzip, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#79086; Package automake. (Fri, 25 Jul 2025 21:34:02 GMT) Full text and rfc822 format available.

Message #14 received at 79086 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: marc.nieper+gnu <at> gmail.com
Cc: 79086 <at> debbugs.gnu.org
Subject: Re: bug#79086: check-DEJAGNU should produce less noise
Date: Fri, 25 Jul 2025 15:33:43 -0600
    Sure. Here is a tree for a minimal project (see also the attached archive):

Thanks much, Marc. That's very helpful. Will look into it as soon as I
have a chance (if no one else gets there earlier). --all the best, karl.




This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.