- edited description
Improve error message in `exitFailure` method
Issue #2
resolved
For debugging purposes would be great if this method could print the full command run, not just the name of the executable. For example:
testProgram "Foo" "ghc" ["-fforce-recomp", "foo.hs"] Nothing
would print:
Program `/home/matthew/.ghc/ghc --fforce-recomp foo.hs` failed with code 42
rather than
Program /home/matthew/.ghc/ghc failed with code 42
This is useful when you are computing the arguments rather than hard-coding them. This could be hidden behind an option if you don’t think it’s generally desirable.
Again would open a PR if I had permission.
Comments (3)
-
reporter -
reporter - edited description
-
repo owner - changed status to resolved
- Log in to comment