| 757 | } |
| 758 | |
| 759 | static bool CheckRelativePath(std::string const& local, |
| 760 | std::string const& remote, |
| 761 | std::string const& expected) |
| 762 | { |
| 763 | std::string result = kwsys::SystemTools::RelativePath(local, remote); |
| 764 | if (!kwsys::SystemTools::ComparePath(expected, result)) { |
| 765 | std::cerr << "RelativePath(" << local << ", " << remote << ") yielded " |
| 766 | << result << " instead of " << expected << std::endl; |
| 767 | return false; |
| 768 | } |
| 769 | return true; |
| 770 | } |
| 771 | |
| 772 | static bool CheckRelativePaths() |
| 773 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…