Q: How to get less escape sequences from Common Test?

bengt <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
Greetings,

I am running Common Test via rebar3. There are too many escape sequences in the output for my liking.
Example:
r3 ct --suite a_SUITE
[0;32m===> Verifying dependencies...
[0mCONFIG: enabling persistent_term support
[0;32m===> Compiling diameter files...
[0m [0;32m===> Analyzing applications...
[0m [0;32m===> Compiling ercdf
[0m [0;32m===> Running Common Test suites...
[0mSuite a_SUITE not found in directory /home/bengt/tp/ercdf/_build/test/lib/ercdf/test
[0;31m===> [1mError running tests:
  {make_failed,["/home/bengt/tp/ercdf/_build/test/lib/ercdf/test/a_SUITE"]}
[0m [0m

I found a way to make rebar3 behave, but Common Test is still escaping my efforts. Has anybody solved this already?

REBAR_COLOR=none r3 ct --suite a_SUITE
Verifying dependencies...
CONFIG: enabling persistent_term support
Compiling diameter files...
Analyzing applications...
Compiling ercdf
Running Common Test suites...
Suite a_SUITE not found in directory /home/bengt/tp/ercdf/_build/test/lib/ercdf/test
[1mError running tests:
  {make_failed,["/home/bengt/tp/ercdf/_build/test/lib/ercdf/test/a_SUITE"]}
[0m


Best Wishes,
bengt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.