automake
[Top][All Lists]
Advanced

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

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


From: Bogdan
Subject: Re: faster tests [was: rhel8 test failure confirmation?]
Date: Tue, 4 Apr 2023 21:51:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1

Karl Berry <karl@freefriends.org>, 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




reply via email to

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