[PATCH v2] autotest: Respect NO_COLOR in test suites.

2024-12-07 Thread Nick Bowler
This implements support for NO_COLOR in test suites using AT_COLOR_TESTS to enable colour by default. NO_COLOR is an informal standard[1] way for users to express their preference to not use colours by default. If NO_COLOR is set in the environment to anything other than the empty string, the def

Re: [PATCH] autotest: Respect NO_COLOR in test suites.

2024-12-07 Thread Nick Bowler
On 2024-12-06 10:44, Zack Weinberg wrote: > I'm not sure I understand this. Could you please confirm whether the > intended semantics are that the command-line --color option overrides > NO_COLOR if both are used? And whether that is what your change > actually does? Yes and yes. The intention