This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix up fixincludes for VxWorks and fix testing
- From: rbmj <rbmj at verizon dot net>
- To: Bruce Korb <bruce dot korb at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 02 Oct 2012 14:11:30 -0400
- Subject: Re: [PATCH] fix up fixincludes for VxWorks and fix testing
- References: <505F9918.2070102@gmail.com> <506B2C25.6010401@verizon.net>
Patch 2: [fixincludes] Clean up fixincludes test machinery
TODO Prior to commit:
* fixincl.x: Regenerate
ChangeLog
2012-09-23 Bruce Korb <bkorb@gnu.org>
* check.tpl: export TEST_MODE=true for testing
* fixincl.c (te_verbose): extract to fixlib.h
(run_compiles): in test mode, if the fix is a replacement,
then skip the test. The fix will not be applied.
* fixlib.h (fixinc_mode): new global variable that defaults to
TESTING_OFF but is set to TESTING_ON when TEST_MODE is true.
* fixopts.c: define this global variable
(initialize_opts): set it to TESTING_ON under proper conditions
* inclhack.def (AAB_darwin7_9_long_double_funcs_2): this is *NOT*
a replacement fix. Rename it and move it where it belongs as
(darwin_9_long_double_funcs_2): renamed fix
(broken_nan): this had a broken selection regex. Could never work.
* tests/base/architecture/ppc/math.h: replacement fixes are not tested,
so remove all the replacement text. Add in the "broken_nan" test
that used to never, ever fire.