Tests: Add environment variables for verbosity and log directory
authorKienan Stewart <kstewart@efficios.com>
Tue, 30 Jul 2024 20:38:13 +0000 (16:38 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Sep 2024 15:30:57 +0000 (15:30 +0000)
commitb445e3daeb2fb613f26123c79918fab6cba63921
tree01571ad548ff35e9ad954defd1bee5f057f97c7f
parent153ec569ff523aa4489efc1dd04a4ad4434e6715
Tests: Add environment variables for verbosity and log directory

Observed issue
==============

When working locally with test failures, changes to `utils.sh` are often
required to produce verbose output.

Solution
========

By adding environment variables to allow running the various tools
with higher verbosity and potentially outputting to either stderr or
temporary files in a given directory test runners now have the option
to quickly get more information.

Known drawbacks
===============

Some tests depend on parsing either stderr or stdout, and these global
defaults may potentially make developing robust tests more
complicated.

Change-Id: I4128c421cdf9ce12827adc017dba5a298b62b6de
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/kernel/test_ns_contexts
tests/regression/kernel/test_ns_contexts_change
tests/regression/tools/working-directory/test_relayd_working_directory
tests/regression/ust/java-log4j/test_java_log4j
tests/regression/ust/java-log4j2/test_agent_log4j2_domain_log4j
tests/regression/ust/test_event_perf
tests/utils/utils.sh
This page took 0.025894 seconds and 4 git commands to generate.