Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    f02ded46
    Make test.cpp support LOGFAIL env var: only failed tests show log. · f02ded46
    Nat Goodspeed authored
    Set LOGFAIL= one of ALL, DEBUG, INFO, WARN, ERROR, NONE. A passing test will
    run silently, as now; but a failing test will replay log output at the
    specified level or higher.
    While at it, support LOGTEST environment variable, same values. This is like
    setting --debug (or -d), but allows specifying an arbitrary level -- and,
    unlike --debug, can be set for a TeamCity build config without modifying any
    scripts or code.
    Publish LLError::decodeLevel(std::string), previously private to llerror.cpp.
    f02ded46
    History
    Make test.cpp support LOGFAIL env var: only failed tests show log.
    Nat Goodspeed authored
    Set LOGFAIL= one of ALL, DEBUG, INFO, WARN, ERROR, NONE. A passing test will
    run silently, as now; but a failing test will replay log output at the
    specified level or higher.
    While at it, support LOGTEST environment variable, same values. This is like
    setting --debug (or -d), but allows specifying an arbitrary level -- and,
    unlike --debug, can be set for a TeamCity build config without modifying any
    scripts or code.
    Publish LLError::decodeLevel(std::string), previously private to llerror.cpp.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.