Disabled the "..skipped x for lack of y..." message as it is not very useful information and hides the interesting info in noise (why it failed).

It should probably be a command line option as it might be interesting in some cases.
Also added a "Build Failure" at the end if there were failed targets.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41294 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Fredrik Holmqvist 2011-05-01 11:34:52 +00:00
parent e62f027fec
commit 7a4d04f795
2 changed files with 12 additions and 4 deletions

View File

@ -154,3 +154,9 @@ adjusted more or less to work with 2.5rc3.
the communication overhead with the server, and that the server consumes
memory to store the cached data. The server's memory footprint is quite
reasonable, though.
* Disabled the "..skipped x for lack of y..." message
Disabled as it is not very useful information and hides the interesting
info in noise (why it failed). It should probably be a command line option
as it might be interesting in some cases. Also added a "Build Failure" at
the end if there were failed targets. (Fredrik Holmqvist)

View File

@ -104,9 +104,11 @@ make1( TARGET *t )
/* Talk about it */
if( DEBUG_MAKE && counts->failed )
printf( "...failed updating %d target(s)...\n", counts->failed );
if( counts->failed ) {
printf("\nBUILD FAILURE:\n");
if( DEBUG_MAKE ) printf( "...failed updating %d target(s)...\n", counts->failed );
}
if( DEBUG_MAKE && counts->skipped )
printf( "...skipped %d target(s)...\n", counts->skipped );
@ -201,7 +203,7 @@ make1b( TARGET *t )
if( t->status == EXEC_CMD_FAIL && t->actions )
{
++counts->skipped;
printf( "...skipped %s for lack of %s...\n", t->name, failed );
// printf( "...skipped %s for lack of %s...\n", t->name, failed );
}
if( t->status == EXEC_CMD_OK )