From: Phil Holmes Date: Wed, 1 Aug 2012 15:15:57 +0000 (+0100) Subject: Correct make check cycle in NR X-Git-Tag: release/2.15.42-1~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ae693288386a97149c96312567ef66de1db41df8;p=lilypond.git Correct make check cycle in NR --- diff --git a/Documentation/contributor/programming-work.itexi b/Documentation/contributor/programming-work.itexi index 205783513f..273bba4bd1 100644 --- a/Documentation/contributor/programming-work.itexi +++ b/Documentation/contributor/programming-work.itexi @@ -1466,19 +1466,13 @@ introduced into the output. This process is described in @subheading Typical developer's edit/compile/test cycle -TODO: is @code{[-j@var{X} CPU_COUNT=@var{X}]} useful for -@code{test-baseline}, @code{check}, @code{clean}, -@code{test-redo}? Neil Puttock says it is useful for -everything but @code{clean}, which is disk-limited. -Need to check formally. - @itemize @item Initial test: @example make [-j@var{X}] -make test-baseline +make [-j@var{X} CPU_COUNT=@var{X}] test-baseline make [-j@var{X} CPU_COUNT=@var{X}] check @end example @@ -1488,10 +1482,10 @@ Edit/compile/test cycle: @example @emph{## edit source files, then...} -make clean @emph{## only if needed (see below)} -make [-j@var{X}] @emph{## only if needed (see below)} -make test-redo @emph{## redo files differing from baseline} -make [-j@var{X} CPU_COUNT=@var{X}] check @emph{## CPU_COUNT here?} +make clean @emph{## only if needed (see below)} +make [-j@var{X}] @emph{## only if needed (see below)} +make [-j@var{X} CPU_COUNT=@var{X}] test-redo @emph{## redo files differing from baseline} +make [-j@var{X} CPU_COUNT=@var{X}] check @end example @item @@ -1510,10 +1504,6 @@ the object files. If you only modify files which are interpreted, like those in the @file{scm/} and @file{ly/} directories, then @command{make} is not needed before @command{make test-redo}. -TODO: Fix the following paragraph. You can do @command{rm mf/out/*} -instead of make clean, and you can probably do -@command{make -C mf/ clean} as well, but I haven't checked it -- cds - Also, if you modify any font definitions in the @file{mf/} directory then you must run @command{make clean} and @command{make} before running @command{make test-redo}. This will @@ -1525,6 +1515,12 @@ Running @command{make@tie{}check} will leave an HTML page important differences that your change introduced, whether in the layout, MIDI, performance or error reporting. +You only need to use @command{make test-clean} to start from +scratch, prior to running @command{make@tie{}test-baseline}. To +check new modifications, all that is needed is to repeat +@command{make@tie{}test-redo} and @command{make@tie{}test-check} +(not forgetting @command{make} if needed). +