
#12077: DYNAMIC_GHC_PROGRAMS=NO: T8761 is failing (Make pattern synonyms work with Template Haskell) -------------------------------------+------------------------------------- Reporter: thomie | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: th/T8761 Blocked By: | Blocking: Related Tickets: #8761 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonmar): * owner: => simonmar * milestone: => 8.0.2 Comment: This is just a buffering issue. GHC does `hSetBuffering stdout LineBuffering`, but that only applies to the interpreter's stdout when GHC is dynamic, because there GHC and the interpreter share a `stdout`. In other configurations, GHC and the interpreter have different stdout Handles, and the interpreter's stdout will be block-buffered by default when output goes to a file, as it does in the testsuite. There's no easy fix that makes this just work. I'm going to make the test do `hFlush stdout` explicitly instead. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12077#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler