Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ptest: Don't output colors unconditionally #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ptest: Don't output colors unconditionally #6

wants to merge 1 commit into from

Commits on Apr 23, 2020

  1. ptest: Don't output colors intentionally

    Started using ptest for an mpc-parser because it was used in mpc itself.
    While running my ptest parser test suite on our CI I noticed that ptest
    outputs colors unconditionally. This change only outputs colors if the
    TERM variable is not set to `dumb` and standard output is a TTY.
    
    I obviously didn't test this change on WIN32.
    nmeum committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    fdb3fa7 View commit details
    Browse the repository at this point in the history