diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-09-08 14:14:09 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-09-08 14:14:09 -0400 |
commit | c7546ea65e55143ff3d2d82d8c289bbac7fffe0f (patch) | |
tree | d97d48168d71bc07557feaf44136701d2f3c149d /indra/llcommon/llliveappconfig.cpp | |
parent | d459b3a1ca317c6927dffacda3aac3b580c0dfb1 (diff) |
SL-18837: Make llsdserialize_test debug output conditional.
Move hexdump() and hexmix() stream formatters to new hexdump.h for potential
use by other tests.
In toPythonUsing() helper function, add a temp file to receive Python script
debug output, and direct debug output to that file. On test failure, dump the
contents of that file to the log.
Give NamedTempFile::peep() an optional target std::ostream; refactor
implementation as peep_via() that accepts a callable to process each text
line. Add operator<<() to stream the contents of a NamedTempFile object to
ostream -- but don't use that with LL_DEBUGS(), as it flattens the file
contents into a single log line. Instead add peep_log(), which streams each
individual text line to LL_DEBUGS().
Diffstat (limited to 'indra/llcommon/llliveappconfig.cpp')
0 files changed, 0 insertions, 0 deletions