Hi,
Currently the MIR framework prints all its outputs (errors and actual representation) on stderr.
This patch fixes that by printing the regular output in the output specified with -o.
The patch itself is pretty straightforward but a lot of tests have to be updated, that’s why I put up a review.
Basically, every test that uses mir needs to be updated to:
- Replace -o /dev/null into -o -
- Get rid of the useless 2>&1
The change is pretty mechanical.