I tried to build from GIT bash on windows 10, and first test that failed
was

testSynopsisOrderCorrectWhenParametersDeclaredOutOfOrder in

org.apache.logging.log4j.core.tools.picocli.

CommandLineHelpTest:2008


It seems like the expected result

format("<main class> <param0> <param1>%n") on line 2014 always assumes
that no ANSI color codes is output, while the actual results have ANSI
codes.

I looked into the code, and saw that one of the things that was check
was if TERM environment variable started with xterm, and did a test
where I first did

export TERM=zzzzz

and did then build it again. Now without faults.

The test should have more control on what environment it is running
on. It is several other tests in the same testclass that fails because
of same issue.


I guess this is the same fault that Gary Gregory experienced here
https://www.mail-archive.com/dev@logging.apache.org/msg05223.html

in message from Nov 19, 2017, at 6:32 PM


Best regards

Atle

Reply via email to