diff options
author | Brad King <brad.king@kitware.com> | 2016-09-15 12:46:48 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-09-15 12:46:48 (GMT) |
commit | 010140311a0aa9336b7e2a2d22c177d445ee1c32 (patch) | |
tree | a63f50e7954325fae86253df5266d8106aabe35c /Source/kwsys/testSystemTools.cxx | |
parent | b7dcadac44b26c50ba9e765e97c59035dd03c33f (diff) | |
parent | de1493176b936e960165d9110944636bcb9fd798 (diff) | |
download | CMake-010140311a0aa9336b7e2a2d22c177d445ee1c32.zip CMake-010140311a0aa9336b7e2a2d22c177d445ee1c32.tar.gz CMake-010140311a0aa9336b7e2a2d22c177d445ee1c32.tar.bz2 |
Merge topic 'update-kwsys'
de149317 Tests: Use upper-case drive letters in RunCMake.get_filename_component
04d94fbe Merge branch 'upstream-KWSys' into update-kwsys
d28e4467 KWSys 2016-09-14 (c4049689)
e4fc770f Merge branch 'upstream-KWSys' into update-kwsys
b80d6136 KWSys 2016-09-14 (e736efa1)
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; |