Fix #5435, adding new test config check_stdout.

Authored by ezyang on Apr 9 2014, 4:32 AM.

Description

Fix Trac #5435, adding new test config check_stdout.

check_stdout(f) allows you to override the test framework's
diff based output checking with another mechanism. f is
a function which takes two arguments: the first is the
filename containing the observed stdout, the second is the
normaliser that would have been applied (in case you want
to read, normalise, and then do something.)

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>

Details

Committed
ezyangApr 9 2014, 4:34 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFF50bfd4219157: Improve error reporting for untouchable type variables
Branches
Unknown
Tags
Unknown