diff options
author | Brad King <brad.king@kitware.com> | 2016-09-14 13:43:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-14 13:49:37 (GMT) |
commit | 04d94fbe92535f57177777bc8715fb41a2d7dcc0 (patch) | |
tree | cf9b5a593c7689d2b9d63c389ccdb4a63aa3ee53 /Source/kwsys/testSystemTools.cxx | |
parent | e4fc770fa39f8433147cae4849923286e5b3511a (diff) | |
parent | d28e4467aae44db2b15a785e6f061917798cfcd4 (diff) | |
download | CMake-04d94fbe92535f57177777bc8715fb41a2d7dcc0.zip CMake-04d94fbe92535f57177777bc8715fb41a2d7dcc0.tar.gz CMake-04d94fbe92535f57177777bc8715fb41a2d7dcc0.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2016-09-14 (c4049689)
Issue: #16295
Diffstat (limited to 'Source/kwsys/testSystemTools.cxx')
-rw-r--r-- | Source/kwsys/testSystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/testSystemTools.cxx b/Source/kwsys/testSystemTools.cxx index 9252ea6..880b46e 100644 --- a/Source/kwsys/testSystemTools.cxx +++ b/Source/kwsys/testSystemTools.cxx @@ -940,7 +940,7 @@ static bool CheckRelativePath( const std::string& expected) { std::string result = kwsys::SystemTools::RelativePath(local, remote); - if(expected != result) + if (!kwsys::SystemTools::ComparePath(expected, result)) { std::cerr << "RelativePath(" << local << ", " << remote << ") yielded " << result << " instead of " << expected << std::endl; @@ -965,7 +965,7 @@ static bool CheckCollapsePath( const std::string& expected) { std::string result = kwsys::SystemTools::CollapseFullPath(path); - if(expected != result) + if (!kwsys::SystemTools::ComparePath(expected, result)) { std::cerr << "CollapseFullPath(" << path << ") yielded " << result << " instead of " << expected << std::endl; |