Closed
Description
As discussed in #2868 (comment) it would be nice to have a little more flexibility for the matching used for ".err" and ".out" files in the cabal-install integration tests. This would allow for better handling of Windows (".exe" appears in the "program name" portion of output) and perhaps also in other cases where a little flexibility is required.
(Mostly copied from that thread:)
A reasonable start would be line-by-line regex comparison where each .out or .err file could contain lines like:
RE:this is a regex
this is not
If we want to go super-advanced, something like http://llvm.org/docs/CommandGuide/FileCheck.html could also be an option. (I think this may be overkill for our purposes since cabal-install output is usually pretty simple if you can control the inputs.)