[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bundling Gnulib tests with an application
From: |
Bruno Haible |
Subject: |
Re: Bundling Gnulib tests with an application |
Date: |
Sun, 31 May 2020 21:51:06 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Marc Nieper-Wißkirchen wrote:
> When an application bundles Gnulib tests in its distribution, say in a
> folder named gnulib-tests, and has its own suite of Automake tests in the
> folder tests, the console output by Automake when running
>
> make check
>
> is suboptimal because it will print something like
>
> ====================================
> Testsuite summary for MyProgram 1.0
> ====================================
>
> twice, once when processing the tests folder and once when processing the
> gnulib-tests folder.
>
> Is there a way to change the title that is printed by Automake?
I'm not aware of a documented way to change this.
Nevertheless, it is probably easy to do: When you look at the generated
Makefile.in and search for the string 'summary for', you will see that
it gets the text that follows it from a Makefile variable. This Makefile
variable gets its default value from the configure file. But if you
set a value in Makefile.am, it will override the value from the configure
file - locally in that Makefile only.
Bruno