Fix symbolicate tests stack trace diff on Windows
authorNiklas Therning <niklas@therning.org>
Thu, 6 Oct 2016 12:22:49 +0000 (14:22 +0200)
committerNiklas Therning <niklas@therning.org>
Thu, 6 Oct 2016 12:22:49 +0000 (14:22 +0200)
commitc467c938ddb50af1cc6bc03154392c42d529e5ac
treef506859eb4143abb3b7af3972b1050dc99ec5242
parentd6f7d6199c5848610d4e01be084b44bea0551adb
Fix symbolicate tests stack trace diff on Windows

The symbolicate tests compare stack traces generated by the mono-symbolicate
tool against expected stack traces. The expected stack trace files have been
preprocessed to remove absolute paths and the Makefile does the same with the
output from the tool. However, the preprocessing doesn't take different
directory separator characters into account. This patch adds a 'tr' command to
the Makefile which converts \ -> / before the absolute paths are filtered out
from the actual output from the tool to make the comparison succeed on Windows
as well.
mcs/tools/mono-symbolicate/Makefile