From 7a4d04f7958e681f79cd8b972c99f65b22aa1863 Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Sun, 01 May 2011 11:34:52 +0000 Subject: [PATCH] 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 --- jam/README.CHANGES | 6 ++++++ jam/make1.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/jam/README.CHANGES b/jam/README.CHANGES index 7115e67..d1c07b9 100644 --- a/jam/README.CHANGES +++ b/jam/README.CHANGES @@ -154,3 +154,9 @@ 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) diff --git a/jam/make1.c b/jam/make1.c index b65949e..ffb7831 100644 --- a/jam/make1.c +++ b/jam/make1.c @@ -104,9 +104,11 @@ /* 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 @@ 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 ) -- gitore 0.2.2