projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2a89949
)
Merge pull request #2765 from akoeplinger/mcs-fix-test-windows-backslash
author
Marek Safar
<marek.safar@gmail.com>
Wed, 16 Mar 2016 17:18:27 +0000
(18:18 +0100)
committer
Marek Safar
<marek.safar@gmail.com>
Wed, 16 Mar 2016 17:18:27 +0000
(18:18 +0100)
[compiler-tester] Fix incorrect failure with Windows paths in error messages
mcs/tools/compiler-tester/compiler-tester.cs
patch
|
blob
|
history
diff --git
a/mcs/tools/compiler-tester/compiler-tester.cs
b/mcs/tools/compiler-tester/compiler-tester.cs
index ca804a604328da8b57efed3e0ae0ed9066fd9951..beafdfa555778472afda9b56e0d11d2fd3d52845 100644
(file)
--- a/
mcs/tools/compiler-tester/compiler-tester.cs
+++ b/
mcs/tools/compiler-tester/compiler-tester.cs
@@
-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);