[PATCH] tests: only compile test programs when running test

Mike Frysinger vapier at gentoo.org
Wed Jun 27 23:25:05 UTC 2012


On Wednesday 27 June 2012 03:45:54 Mark Wielaard wrote:
> On Tue, 2012-06-26 at 18:02 -0700, Roland McGrath wrote:
> > Hmm.  Ambivalent.  I've always liked that 'make' compiles everything and
> > 'make check' has nothing to do but actually run the tests.
> 
> I actually like the build/dependency logic proposed. But I don't like
> the fact people are skipping make check. We are really trying to keep
> make check clean, so that any failure really means something is wrong
> either with elfutils itself or the toolchain used. Such issues really
> should be reported and fixed whenever possible.
> 
> Does gentoo keep build logs, do they include the make check output?
> If not, what is the reason for wanting to skip make check?

Gentoo users (usually) build everything from source.  also running all the 
packages' tests all the time is wasteful and kind of pointless.  but since 
it's optional, we do have some users that do it (and so we see reports when 
`make check` fails), and in those cases the log files are available and we 
triage things then.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://fedorahosted.org/pipermail/elfutils-devel/attachments/20120627/a151591a/attachment.sig>


More information about the elfutils-devel mailing list