]> granicus.if.org Git - php/commit
Support NO_COLOR environment variable in run-tests.php
authorTyson Andre <tysonandre775@hotmail.com>
Sun, 9 Aug 2020 15:26:51 +0000 (11:26 -0400)
committerTyson Andre <tysonandre775@hotmail.com>
Wed, 12 Aug 2020 13:37:45 +0000 (09:37 -0400)
commit45d69fb80942af07cad5fb26d49200942a9deca8
treece6112bb72edbcd361bd9b6e5c1ead063c5db140
parentb480e6841ecd5317faa136647a2b8253a4c2d0df
Support NO_COLOR environment variable in run-tests.php

And add a --color option for run-tests.php

See https://no-color.org/

> an informal standard is hereby proposed:
>
> All command-line software which outputs text with ANSI color added should check
> for the presence of a `NO_COLOR` environment variable that, when present
> (regardless of its value), prevents the addition of ANSI color.
run-tests.php