test-common.c: Use --strip-trailing-cr on Windows
Hi,
Windows builds of Pango can and will print things with CR/LF
line endings, which will cause tests to fail as the reference files that are compared to by diff
have LF
line endings, causing tests like markup to fail. This adds the --strip-trailing-cr
option to invoking diff
so that we won't fail tests unnecessarily to to false alarm.
Pointed out by @naveen512kk and based on his proposed patch in MR!597.
With blessings, thank you!