[GHC] #9604: Python test runner assumes native Python on Windows
GHC
ghc-devs at haskell.org
Wed Sep 17 21:33:15 UTC 2014
#9604: Python test runner assumes native Python on Windows
-------------------------------------+-------------------------------------
Reporter: gintas | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 7.8.2
Keywords: | Operating System: Windows
Architecture: Unknown/Multiple | Type of failure: Building
Difficulty: Unknown | GHC failed
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
runtests.py assumes that ctypes.windll is always available when running on
Windows, but that is in fact only available when using a native Windows
Python, but not the mingw/msys Python. The code causes a crash over a
trivial issue of setting the terminal to UTF-8 mode.
See attached patch for a fix. (The second patch is a cleanup.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9604>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list