comparison fixincludes/README @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
49 You are guaranteed to have issues printed out as a result. 49 You are guaranteed to have issues printed out as a result.
50 Look at the diffs produced. Make sure you have not clobbered 50 Look at the diffs produced. Make sure you have not clobbered
51 the proper functioning of a different fix. Make sure your 51 the proper functioning of a different fix. Make sure your
52 fix is properly tested and it does what it is supposed to do. 52 fix is properly tested and it does what it is supposed to do.
53 53
54 6. Now that you have the right things happening, syncronize the 54 6. Now that you have the right things happening, synchronize the
55 $(srcdir)/tests/base directory with the $(builddir)/tests/res 55 $(srcdir)/tests/base directory with the $(builddir)/tests/res
56 directory. The output of "make check" will be some diffs that 56 directory. The output of "make check" will be some diffs that
57 should give you some hints about what to do. 57 should give you some hints about what to do.
58 58
59 7. Rerun "make check" and verify that there are no issues left. 59 7. Rerun "make check" and verify that there are no issues left.
80 file, therefore write apply tests to avoid unnecessary fix 80 file, therefore write apply tests to avoid unnecessary fix
81 processes. The preferred apply tests are "select", "bypass", "mach" 81 processes. The preferred apply tests are "select", "bypass", "mach"
82 and "c-test" because they are performed internally: 82 and "c-test" because they are performed internally:
83 83
84 * select - Run a regex on the contents of the file being considered. 84 * select - Run a regex on the contents of the file being considered.
85 All such regex-es must match. 85 All such regex-es must match. Matching is done with
86 extended regular expressions.
86 87
87 * bypass - Run a regex on the contents of the file being considered. 88 * bypass - Run a regex on the contents of the file being considered.
88 No such regex may match. 89 No such regex may match.
89 90
90 * c-test - call a function in fixtests.c. See that file. 91 * c_test - call a function in fixtests.c. See that file.
91 92
92 * mach - Match the output of config.conf against a series of fnmatch 93 * files - the "fnmatch" pattern of the file(s) to examine for
94 the issue. There may be several copies of this attribute.
95 If the header lives in a /usr/include subdirectory, be
96 sure to include that subdirectory in the name. e.g. net/if.h
97
98 * mach - Match the output of config.guess against a series of fnmatch
93 patterns. It must match at least one of the patterns, unless 99 patterns. It must match at least one of the patterns, unless
94 "not-machine" has also been specified. In that case, the 100 "not-machine" has also been specified. In that case, the
95 config.conf output must not match any of the patterns. 101 config.guess output must not match any of the patterns.
96 102
97 The next test is relatively slow because it must be handled in a 103 The next test is relatively slow because it must be handled in a
98 separate shell process. Some platforms do not support server shells, 104 separate shell process. Some platforms do not support server shells,
99 so the whole process is even slower and more cumbersome there. 105 so the whole process is even slower and more cumbersome there.
100 106
106 112
107 These tests are required to: 113 These tests are required to:
108 114
109 1. Be positive for all header files that require the fix. 115 1. Be positive for all header files that require the fix.
110 116
111 It is desireable to: 117 It is desirable to:
112 118
113 2. Be negative as often as possible whenever the fix is not 119 2. Be negative as often as possible whenever the fix is not
114 required, avoiding the process overhead. 120 required, avoiding the process overhead.
115 121
116 It is nice if: 122 It is nice if: