Browse Source

adjust to the corresponding testing.jam changes

[SVN r23450]
Aleksey Gurtovoy 22 years ago
parent
commit
ad63a2eaf5
1 changed files with 1 additions and 9 deletions
  1. 1 9
      tools/regression/process_jam_log.cpp

+ 1 - 9
tools/regression/process_jam_log.cpp

@@ -230,15 +230,7 @@ namespace
         }
         }
       }
       }
 
 
-      string library_name;
-      string::size_type pos = target_directory.find( "/libs/" );
-      if ( pos != string::npos )
-      {
-        pos += 6;
-        library_name
-          = target_directory.substr( pos,
-              target_directory.find( "/", pos ) - pos );
-      }
+      string library_name( test_path_to_library_name( target_directory ) );
 
 
       test_info info;
       test_info info;
       test2info_map::iterator itr( test2info.find( library_name + "/" + test_name ) );
       test2info_map::iterator itr( test2info.find( library_name + "/" + test_name ) );

粤ICP备19079148号