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

黃耀賢 (Yau-Hsien Huang) <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAGD83h1Xrn4cMeee54cnKT7hyG33TcfnxvvY+Wmcper+N6kEhA@mail.gmail.com>
TERM=dumb r3 ct --suite a_SUITE

On Sun, Oct 17, 2021 at 10:50 PM bengt <[email protected]> wrote:

> 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



-- 

Best Regards.

--- Y-H. H.
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.