-DDEBUG and testsuite

Edward Z. Yang ezyang at MIT.EDU
Wed Apr 6 13:04:10 CEST 2011


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.

I guess the correct thing to do is track all these places down
individually and add checks for -dno-debug-output, though if some
tests are checking for debug output, that might be tricky.

Edward

Excerpts from Simon Marlow's message of Tue Apr 05 15:35:45 -0400 2011:
> On 05/04/11 17:50, Edward Z. Yang wrote:
> > Hello all,
> >
> > If I run 'make fast' in the testsuite, with a stage2 compiler that has been
> > built with -DDEBUG, should I be getting extra failures?
> 
> You shouldn't, but since we don't test that very often it's possible 
> that some bugs have crept in.  What failures are you seeing?
> 
> Cheers,
>     Simon



More information about the Glasgow-haskell-users mailing list