[PATCH] Fix some ghci way testsuite failures on Windows
Bill Tutt
bill at tutts.org
Sat Mar 2 21:54:57 CET 2013
On my 32bit Windows make fulltest run I got these two failures:
../../libraries/directory/tests getDirContents002 [bad stdout or
stderr] (ghci)
../../libraries/process/tests process004 [bad stdout or stderr] (ghci)
The problem here is that although the respective all.T files have
normalise_exe,
However, check_stderr_ok only normalizes away '.exe' when platform override
files DO NOT exist and these test cases have platform overrides for mingw32.
This seems like something to add a helper function for in testlib.py.
Here's the patches for one way to accomplish fixing the problem.
Fyi,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130302/b86fed9e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite-Add-helper-method-for-normalise_exe-for-stderr.patch
Type: application/octet-stream
Size: 744 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130302/b86fed9e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: directories-Use-new-helper-to-normalise_exe-on-stderr.patch
Type: application/octet-stream
Size: 873 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130302/b86fed9e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: process-Use-new-helper-to-normalise_exe-on-stderr.patch
Type: application/octet-stream
Size: 789 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130302/b86fed9e/attachment-0002.obj>
More information about the ghc-devs
mailing list