Merge pull request #2765 from akoeplinger/mcs-fix-test-windows-backslash
[mono.git] / mcs / tools / compiler-tester / compiler-tester.cs
index ca804a604328da8b57efed3e0ae0ed9066fd9951..beafdfa555778472afda9b56e0d11d2fd3d52845 100644 (file)
@@ -1439,6 +1439,7 @@ namespace TestRunner {
 
                static bool TryToMatchErrorMessage (string actual, string expected)
                {
+                       actual = actual.Replace ("\\", "/");
                        var path_mask_start = expected.IndexOf ("*PATH*");
                        if (path_mask_start > 0 && actual.Length > path_mask_start) {
                                var path_mask_continue = expected.Substring (path_mask_start + 6);