$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: bdawes_at_[hidden]
Date: 2007-10-01 17:50:03
Author: bemandawes
Date: 2007-10-01 17:50:02 EDT (Mon, 01 Oct 2007)
New Revision: 39647
URL: http://svn.boost.org/trac/boost/changeset/39647
Log:
Detect and report missing boost-test lines in input log file
Text files modified: 
   trunk/tools/regression/process_jam_log.cpp |     8 ++++++++                                
   1 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/tools/regression/process_jam_log.cpp
==============================================================================
--- trunk/tools/regression/process_jam_log.cpp	(original)
+++ trunk/tools/regression/process_jam_log.cpp	2007-10-01 17:50:02 EDT (Mon, 01 Oct 2007)
@@ -681,6 +681,14 @@
            line_start.find( ".linkonce" ) == string::npos )
     )
     {
+      if ( !test2info.size() )
+      {
+        std::cout << "*****Error - No \"boost-test\" lines encountered.\n"
+                     "     (Usually occurs when bjam was envoked without the --dump-tests option\n"
+                     "      or bjam was envoked in the wrong directory)\n";
+        return 1;
+      }
+
       string action( ( line_start.find( "Link-action" ) != string::npos
             || line_start.find( "vc-Link" ) != string::npos 
             || line_start.find( "Archive-action" ) != string::npos