Explorar el Código

adjust to the corresponding testing.jam changes

[SVN r23450]
Aleksey Gurtovoy hace 22 años
padre
commit
ad63a2eaf5
Se han modificado 1 ficheros con 1 adiciones y 9 borrados
  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;
       test2info_map::iterator itr( test2info.find( library_name + "/" + test_name ) );

粤ICP备19079148号