The function logs a debug message if environment variable PIGLIT_DEBUG is "1" or "true".
383c69f util/log: Add function piglit_logd()
tests/util/piglit-log.c | 37 +++++++++++++++++++++++++++++++++++++
tests/util/piglit-log.h | 6 ++++++
2 files changed, 43 insertions(+)
Upstream: cgit.freedesktop.org