Kaynağa Gözat

fix library name issue

[SVN r23435]
Aleksey Gurtovoy 22 yıl önce
ebeveyn
işleme
4d3bb50e46
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      tools/regression/process_jam_log.cpp

+ 2 - 2
tools/regression/process_jam_log.cpp

@@ -230,7 +230,7 @@ namespace
         }
         }
       }
       }
 
 
-      string library_name; // see "sublibs" comment below
+      string library_name;
       string::size_type pos = target_directory.find( "/libs/" );
       string::size_type pos = target_directory.find( "/libs/" );
       if ( pos != string::npos )
       if ( pos != string::npos )
       {
       {
@@ -245,7 +245,7 @@ namespace
       if ( itr != test2info.end() )
       if ( itr != test2info.end() )
         info = itr->second;
         info = itr->second;
       
       
-      if ( library_name.empty() )
+      if ( !info.file_path.empty() )
         library_name = test_path_to_library_name( info.file_path );
         library_name = test_path_to_library_name( info.file_path );
       
       
       if ( info.type.empty() )
       if ( info.type.empty() )

粤ICP备19079148号