Subject: Re: bug#49309: Feature Request: Automake script based tests to print the test name before running it

From: Karl Berry <[email-masked]>
Date: Sun, 26 Sep 2021 19:40:33 -0600

Back on this suggestion ...

    It would be very helpful if a new option AM_TESTS_NAME=1 
    ...
        RUNNING $name

Looking into it now, I believe this can be done already using
AM_TESTS_ENVIRONMENT (or by an individual user with
TESTS_ENVIRONMENT). The test name is the shell variable $f at that
point. Thus:

  make AM_TESTS_ENVIRONMENT='echo RUNNING: "$$f";' check 

seems to give the desired output for me.  Although the use of $f here is
not documented, in practice it is never going to change.

Seems way simpler than adding this to Automake ... --best, karl.