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

bengt cean.ebengt@REDACTED
Sun Oct 17 18:11:49 CEST 2021


Thank you, that works.


> On 17 Oct 2021, at 18:03, 黃耀賢 (Yau-Hsien Huang) <g9414002.pccu.edu.tw@REDACTED> wrote:
> 
> TERM=dumb r3 ct --suite a_SUITE
> 
> On Sun, Oct 17, 2021 at 10:50 PM bengt <cean.ebengt@REDACTED <mailto:cean.ebengt@REDACTED>> 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.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20211017/23da9bea/attachment.htm>


More information about the erlang-questions mailing list