SDL icon indicating copy to clipboard operation
SDL copied to clipboard

SDL_test: allow disabling colorized output

Open madebr opened this issue 3 weeks ago • 3 comments

By running e.g. testautomation --no-color, the cli output will not contain color codes.

Description

Existing Issue(s)

madebr avatar Dec 03 '25 21:12 madebr

Would it be straightforward to also disable the colorization if environment variable NO_COLOR has a non-empty value?

smcv avatar Dec 04 '25 10:12 smcv

Would it be straightforward to also disable the colorization if environment variable NO_COLOR has a non-empty value?

SDL3 is also "batteries included" :D So that's no issue at all ;)

madebr avatar Dec 04 '25 16:12 madebr

Would it be straightforward to also disable the colorization if environment variable NO_COLOR has a non-empty value?

The tests now support this (as long as they parse the arguments through the SDL_test functions).

madebr avatar Dec 08 '25 19:12 madebr