Robert Ramey 16 лет назад
Родитель
Сommit
f2a35f4310
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      tools/regression/src/library_status.cpp

+ 5 - 1
tools/regression/src/library_status.cpp

@@ -630,10 +630,14 @@ namespace
                 continue;
             
             string test_name = itr->filename();
-            // strip off the ".test" is there is one
+            // if the file name contains ".test"
             string::size_type s = test_name.find( ".test" );
             if(string::npos != s)
+                // strip it off
                 test_name.resize(s);
+            else
+                // if it doesn't - skip this directory
+                continue;
 
             results.push_back( std::string() ); 
             do_row(

粤ICP备19079148号