Re: faster tests [was: rhel8 test failure confirmation?]

Bogdan <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
Karl Berry <[email protected]>, Mon Apr 03 2023 02:08:22 GMT+0200 
(Central European Summer Time)
>      # A trick to make the test run muuuch faster, by avoiding repeated
>      # runs of aclocal (one order of magnitude improvement in speed!).
>      echo 'AC_INIT(x,0) AM_INIT_AUTOMAKE' > configure.ac
> 
> Hadn't noticed this before. Maybe you could see what tests are currently
> taking the longest to run, and see if the above helps speed them up?


  Sure, when I eventually find the time to run 'time' :). I was hoping 
to have some results by now, hence the delay.
  Is there a way to time individual tests, or do I have to run 'time 
make check TESTS=...'?


> It seems a somewhat weird thing to do, but if it saves enough time, I
> guess it would be worth it. --thanks, karl.


  Yes, it is a bit weird and I don't know if this can negatively 
impact the tests themselves in functionalities which may rely on 
aclocal.m4 to be correct. Certainly the tests that add or remove macro 
calls to or from configure.ac need to have aclocal.m4 up-to-date and 
so they need to run aclocal after each modification, as I see it.


-- 
Regards - Bogdan ('bogdro') D.                 (GNU/Linux & FreeDOS)
X86 assembly (DOS, GNU/Linux):    http://bogdro.evai.pl/index-en.php
Soft(EN): http://bogdro.evai.pl/soft  http://bogdro.evai.pl/soft4asm
www.Xiph.org  www.TorProject.org  www.LibreOffice.org  www.GnuPG.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.