You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using dbg() in a test that runs via ctest which prevents any colors from appearing - as ctest buffers stdout so it has the option of not showing any output if the tests passed.
Running the test binary without ctest gives proper colors.
Having a way to enable coloring regardless of isatty would be great. Something like #DBG_MACRO_COLOR_ALWAYS (akin to grep --color=always).
The text was updated successfully, but these errors were encountered:
I'm using
dbg()
in a test that runs viactest
which prevents any colors from appearing - as ctest buffers stdout so it has the option of not showing any output if the tests passed.Running the test binary without
ctest
gives proper colors.Having a way to enable coloring regardless of
isatty
would be great. Something like#DBG_MACRO_COLOR_ALWAYS
(akin togrep --color=always
).The text was updated successfully, but these errors were encountered: