emscripten icon indicating copy to clipboard operation
emscripten copied to clipboard

The Windows colors refactor regressed Windows 10(?) test suite

Open juj opened this issue 1 month ago • 2 comments

I find that when running the test suite on my Windows 10 PC, that the refactor to logging colors caused a regression to the test harness:

Image

The tests are interpreting the ANSI colors as part of the text characters, and all tests that have ANSI colors mixed in them fail.

Interestingly this failure does not occur on my Windows 11 x64 and ARM64 CIs, so not sure if the issue is Windows 10 vs Windows 11, or something else that this particular Windows 10 system is configured to.

juj avatar Oct 21 '25 21:10 juj

Can you debug the ansi_color_available function to see it would be returning True when stderr is being piped (and not going to the terminal at all right?)

sbc100 avatar Oct 22 '25 00:10 sbc100

I'll try to find a moment to look into this further - right now looking at some of the more immediate errors.

juj avatar Oct 24 '25 16:10 juj