[GHC] #12661: Testsuite driver fails on Windows

GHC ghc-devs at haskell.org
Wed Nov 2 20:14:47 UTC 2016


#12661: Testsuite driver fails on Windows
---------------------------------+--------------------------------------
        Reporter:  bgamari       |                Owner:
            Type:  bug           |               Status:  patch
        Priority:  normal        |            Milestone:  8.2.1
       Component:  Test Suite    |              Version:  8.0.1
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+--------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"cc4710af723ca4bbcf77172ff715af22f9ce8419/ghc"
 cc4710af/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="cc4710af723ca4bbcf77172ff715af22f9ce8419"
 testsuite: Simplify kernel32 glue logic

 On Windows the testsuite driver calls kernel32 to set the current
 terminal codepage. The previous implementation of this was significantly
 more complex than necessary, and was wrong in the case of MSYS2, which
 requires that we explicitly load the library using the name of its
 DLL, including its file extension.

 Test Plan: Validate on Windows

 Reviewers: austin, RyanGlScott, Phyx

 Reviewed By: RyanGlScott, Phyx

 Subscribers: thomie

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

 GHC Trac Issues: #12661
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12661#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list