Testsuite: also normalise platform-dependent .stdout/stderr
authorThomas Miedema <thomasmiedema@gmail.com>
Wed, 25 May 2016 14:03:19 +0000 (16:03 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Wed, 25 May 2016 19:30:25 +0000 (21:30 +0200)
commit6a5bce14ffb8b10def150b185fc95d7b2ebab263
tree49f7d0246d32d28669e709af3b2d32ddca15c23f
parent8408d84e18145ebab552331248af8093f9747d3c
Testsuite: also normalise platform-dependent .stdout/stderr

This effectively reverses commit
429f0099ab9adfadc779ca76f3aae1c9c160fb8c (2006).

I don't see why platform-dependent .stdout/stderr files should //not//
get normalised.

It fixes T11223_link_order_a_b_2_fail on Windows, by normalising
`ghc-stage2.exe` to `ghc` when comparing stderr with .stderr-mingw32.

Reviewed by: Phyx

Differential Revision: https://phabricator.haskell.org/D2267

GHC Trac Issues: #12118
testsuite/driver/testlib.py