Disable ropt_plain_output.
authorMilan Straka <fox@ucw.cz>
Fri, 2 Mar 2012 16:48:44 +0000 (17:48 +0100)
committerMilan Straka <fox@ucw.cz>
Fri, 2 Mar 2012 16:48:44 +0000 (17:48 +0100)
commit189b16ea02ce82a39f7a572da08b883f5f3c1aad
treed47a0d3897acdf5a690f8bf4271f0ae3df51b765
parent390a14662d98dd73256762f9d02eedb6632a250d
Disable ropt_plain_output.

The ropt_plain_output was used to disables ansi sequences in the test
log. But it works only for test-framework < 0.5.

In test-framework >= 0.5, ropt_plain_output no longer exists. The line
"ropt_color_mode = Just ColorNever" can be used, but test-framework >= 0.5
detects it is not writing to the terminal and disables ansi sequences by
itself.

It is difficult to compile ropt_plain_output conditionally for
test-framework < 0.5 only (MIN_VERSION_* macros are not defined for
dependencies of tests, conditions in cabal tests do not work for
ghc-7.0). We therefore do not set ropt_plain_output and live with ansi
sequences in test logs produces by test-framework < 0.5.
tests/intmap-properties.hs
tests/intset-properties.hs
tests/map-properties.hs
tests/seq-properties.hs
tests/set-properties.hs