[PATCH] trunk broken for `make check'

Paolo Bonzini bonzini@gnu.org
Fri Nov 19 16:20:00 GMT 2004


>>The platform is Debian GNU/Linux 3.0, FSF binutils 2.14, gcc3.4.2 used to
>>bootstrap.
>>
>>What have I done wrong?
> 
> You need autogen to check fixincludes (fixincludes was just moved to 
> toplevel).

The problem arose when it was made a host module.  Build modules are not 
tested, so this bug is not directly related to moving fixincludes to the 
toplevel: moving fixincludes to the toplevel kept the old behavior of 
only running the fixincludes testsuite on explicit demand.

> Personally I always run 'make -k check' as prescribed in 
> http://gcc.gnu.org/install/test.html, which works around the problem.

Also, not typing "make -k check" will for example cause almost always 
the libjava tests not to run, because boehm-gc's tests exit with a 1 status.

The real fix is to change the toplevel to always behave like make -k, 
see the attached patch.

Paolo

2004-11-18  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.tpl (check-[+module+], check-target-[+module+],
	check-gcc-c++): Do not fail on errors.
	* Makefile.in: Regenerate.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: makefile-force-make-k-check.patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20041119/f7344709/attachment.ksh>


More information about the Gcc mailing list