This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add compile testing to glibc test framework.


On Tue, 7 Jun 2016, Carlos O'Donell wrote:

> Previously these kinds of tests would result in the testsuite failing
> to run to completion because compiler errors are treated as harness
> failures.

I don't actually see this as a problem - that is, I don't see why any 
compile failure should be hard to fix for some system-specific reason.  
I'd rather just add such tests as normal tests, that break the build if 
they fail.

> 	* Rules [ifeq ($(run-built-tests),no)] (tests): Add $(tests-compile).
> 	[ifneq ($(run-built-tests),no)] (tests): Add $(tests-compile:%=$(objpfx)%.out).

If .out is compiler output, I see no good reason for this to depend on 
run-built-tests; such tests should run unconditionally.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]