Re: Q: How to get less escape sequences from Common Test?
bengt <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you, that works. > On 17 Oct 2021, at 18:03, 黃耀賢 (Yau-Hsien Huang) <[email protected]> wrote: > > TERM=dumb r3 ct --suite a_SUITE > > On Sun, Oct 17, 2021 at 10:50 PM bengt <[email protected] <mailto:[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. >