emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49309: closed (Feature Request: Automake script based tests to print


From: GNU bug Tracking System
Subject: bug#49309: closed (Feature Request: Automake script based tests to print the test name before running it)
Date: Wed, 29 Sep 2021 01:29:03 +0000

Your message dated Tue, 28 Sep 2021 19:28:13 -0600
with message-id <202109290128.18T1SDLr026794@freefriends.org>
and subject line Re: bug#49309: Feature Request: Automake script based tests to 
print the test name before running it
has caused the debbugs.gnu.org bug report #49309,
regarding Feature Request: Automake script based tests to print the test name 
before running it
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
49309: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49309
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Feature Request: Automake script based tests to print the test name before running it Date: Thu, 1 Jul 2021 03:01:30 +0000
Hello automake devs,

In script based testsuites 
(https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html#Scripts_002dbased-Testsuites),
 when we run `make check` it prints one of the following string for each test: 
PASS <testname>, FAIL <testname>, XFAIL <testname> or SKIP <testname>.

However, in some cases (long running test, flaky test, other inconclusive ones 
for more involved reasons), it is essential to know which test is currently in 
flight. Especially in CI systems, where flakiness every now and then, due to 
external factors, is almost unavoidable.

It would be very helpful if a new option AM_TESTS_NAME=1 is provided, which 
would change the stdout output from:

    <blank stdout and wait for test execution to complete>
     PASS (or FAIL/XFAIL/SKIP) $name

to something like:

    RUNNING $name
    <blank stdout and wait for test execution to complete>
     PASS (or FAIL/XFAIL/SKIP) $name

this way we can easily find out the name of test (or multiple of them; in case 
of parallel execution) which is (are) currently running.

Thanks,
/K


--- End Message ---
--- Begin Message --- Subject: Re: bug#49309: Feature Request: Automake script based tests to print the test name before running it Date: Tue, 28 Sep 2021 19:28:13 -0600
  make AM_TESTS_ENVIRONMENT='echo RUNNING: "$$f";' check 

I added this to the manual as another example of using
[AM_]TESTS_ENVIRONMENT.  Closing the bug ... --thanks, karl.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]