Tests: Add and set new log-file-d for the tap driver
authorKienan Stewart <kstewart@efficios.com>
Mon, 12 Aug 2024 19:59:15 +0000 (15:59 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Sep 2024 15:31:39 +0000 (15:31 +0000)
commitaa5439fbe18d07c8a19a4fc344847c453f52981c
tree7202e672267ba8c273e7605df8bb2483c3d60481
parent7312af6f68ff342b661daa7b7f0f27c1b2b734df
Tests: Add and set new log-file-d for the tap driver

This adds a new option `--log-file-d` to the tap-driver, which will
create a `*.log.d` folder for each test when running `make check` and
the `LTTNG_TEST_LOG_DIR` accordingly.

Doing so allows the tests to be run in verbose and create logs in a
predictable location. These log folders are removed when running `make
clean`.

Change-Id: Ibcf7e2cb54098a3e9ccd828ca76df6efcf33431d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/Makefile.am
tests/utils/tap-driver.sh
This page took 0.025555 seconds and 4 git commands to generate.