[GHC] #13897: Ship check-ppr in bindist and compile during testsuite run

GHC ghc-devs at haskell.org
Thu Jun 29 18:22:14 UTC 2017


#13897: Ship check-ppr in bindist and compile during testsuite run
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.4.1
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently `check-ppr` is built during the compiler build and used by the
 testsuite in the pretty-printer tests. In a source checkout this is fine,
 however this arrangement blows up in the case of a binary distribution as
 we don't (and probably shouldn't) ship the `check-ppr` binary in the
 bindist.

 I think the most reasonable way to deal with this is to instead ship the
 `check-ppr` source (perhaps in the testsuite tarball) and build it as a
 dependency of the testsuite. Ideally we would build the executable once
 and use it for each of the ppr tests.

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


More information about the ghc-tickets mailing list