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

bengt cean.ebengt@REDACTED
Sun Oct 17 16:50:04 CEST 2021


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


More information about the erlang-questions mailing list