summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSteven Watanabe <steven@providere-consulting.com>2011-02-20 23:40:03 +0000
committerSteven Watanabe <steven@providere-consulting.com>2011-02-20 23:40:03 +0000
commitec555dda830f6380faf68894914bb19caade77b1 (patch)
treeeb4f217276c0229cb1aaedae01e2fd96cac94638 /tools
parent4b4b656eb97aa5b695af293a8e1d0871e36a7fb3 (diff)
downloadboost-ec555dda830f6380faf68894914bb19caade77b1.tar.gz
merge [61925] from the trunk.
[SVN r69110]
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/src/process_jam_log.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/regression/src/process_jam_log.cpp b/tools/regression/src/process_jam_log.cpp
index 8a24d3ed8c..00a6ea49a0 100644
--- a/tools/regression/src/process_jam_log.cpp
+++ b/tools/regression/src/process_jam_log.cpp
@@ -201,6 +201,10 @@ namespace
{
std::string result;
string::size_type start_pos( path.find( "libs/" ) );
+ if ( start_pos == string::npos ) {
+ start_pos = path.find( "tools/" );
+ }
+
if ( start_pos != string::npos )
{
// The path format is ...libs/functional/hash/test/something.test/....
@@ -216,7 +220,7 @@ namespace
// file.
std::string interesting;
- start_pos += 5;
+ start_pos = path.find( '/', start_pos ) + 1;
string::size_type end_pos( path.find( ".test/", start_pos ) );
end_pos = path.rfind('/', end_pos);
if (path.substr(end_pos - 5, 5) == "/test")