[PATCH] Add compile testing to glibc test framework.
Joseph Myers
joseph@codesourcery.com
Tue Jun 7 17:28:00 GMT 2016
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
More information about the Libc-alpha
mailing list