diff --git a/tools/regression/src/library_status.cpp b/tools/regression/src/library_status.cpp index 3d1d599429..4f36eae290 100644 --- a/tools/regression/src/library_status.cpp +++ b/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(