| 782 | } |
| 783 | |
| 784 | static bool CheckCollapsePath(std::string const& path, |
| 785 | std::string const& expected, |
| 786 | char const* base = nullptr) |
| 787 | { |
| 788 | std::string result = kwsys::SystemTools::CollapseFullPath(path, base); |
| 789 | if (!kwsys::SystemTools::ComparePath(expected, result)) { |
| 790 | std::cerr << "CollapseFullPath(" << path << ") yielded " << result |
| 791 | << " instead of " << expected << std::endl; |
| 792 | return false; |
| 793 | } |
| 794 | return true; |
| 795 | } |
| 796 | |
| 797 | static bool CheckCollapsePath() |
| 798 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…