From f2a35f4310c7d1133d459bdf98c0c6f0145b8860 Mon Sep 17 00:00:00 2001 From: Robert Ramey Date: Tue, 6 Apr 2010 01:32:56 +0000 Subject: [PATCH] Merge to release [SVN r61090] --- tools/regression/src/library_status.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(