bug-make
[Top][All Lists]
Advanced

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

Re: `make check -j` fails when building GNU Make from source


From: Paul Smith
Subject: Re: `make check -j` fails when building GNU Make from source
Date: Mon, 03 Apr 2023 08:26:57 -0400
User-agent: Evolution 3.48.0 (by Flathub.org)

On Sun, 2023-04-02 at 18:14 +0200, Alejandro Colomar wrote:
> I wonder if you could use the Makefile to run the tests, rather
> than calling a script from a .PHONY target that runs them all the
> time.  Why not run them only once?  You can touch empty files
> when a test succeeds to make make(1) happy (I usually call them
> *.touch files).

I don't quite understand what you mean by "why not run them only once".
They are run only once...?

Maybe you mean, if (a) the make binary hasn't been rebuilt and (b) the
test script hasn't been changed, then we wouldn't need to re-run the
test?  Perhaps, but realistically I'm not sure it's worth the effort to
make this change because almost the only time we ever run these tests
is when we've rebuilt the make binary, and it's easy enough to run just
a single test if we want to.




reply via email to

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