-DDEBUG and testsuite
marlowsd at gmail.com
Wed Apr 6 15:17:24 CEST 2011
On 06/04/2011 14:02, Max Bolingbroke wrote:
> On 6 April 2011 12:04, Edward Z. Yang<ezyang at mit.edu> wrote:
>> The ill fated commit I made yesterday was a partial attempt to
>> address some of the problems: basically, it boils down to DEBUG
>> blocks that induce extra debugging output that the test framework
>> doesn't know about.
> You didn't used to get so many extra failures, but now GHC with
> -DDEBUG loves to say "constraint solver steps:<N>", so you basically
> can't test a compiler with -DDEBUG at all at the moment.
As Edward says, we should respect -dno-debug-output in these cases.
There should probably be a variant of dumpTcRn that checks the flag.
More information about the Glasgow-haskell-users