Source checks
CD source files are contributed by several people and combined by the tool. But a source might have errors, which can make the whole production fail. In preparing the CD, it is helpful to get a list of such errors and a CD made on base of the remaining sources, which are clean. Both is provided by the check mode.
Check mode is activated when running make
with the target safely
.
make safely |
This call takes care for sources that cannot be compiled. Such sources are excluded one by one as long as the CD can be built. Error messages are collected in a file, which then can be sent to the CD team, organizers or custodians. This makes it suitable for nightly builds.
This special mode is set up by a few makefile
macros:
# check logfile CHECKLOG=ppcd.log # intermediate data file CHECKDATA=PerlPointCD/.checkdata.ppcd |
These files are rewritten every time a new check starts.
Index-related: