diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-03-05 13:07:14 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-03-05 13:07:14 -0500 |
commit | f02ded46fe6f166a07673d97301bf169eb0b9ba8 (patch) | |
tree | 143356218028ec1aab971d12b5c89c5221122663 /indra/test/llevents_tut.cpp | |
parent | b3b51f012f49d82c3b7f6f5cadfc0d76ef82f8bf (diff) |
Make test.cpp support LOGFAIL env var: only failed tests show log.
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.
Diffstat (limited to 'indra/test/llevents_tut.cpp')
0 files changed, 0 insertions, 0 deletions