]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
integration-test: mention TEST_SAVE_JOURNAL in README
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Jul 2025 17:50:06 +0000 (02:50 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 Aug 2025 14:58:53 +0000 (15:58 +0100)
(cherry picked from commit 122779536254469ce55a31139985c7e5be434d79)

test/integration-tests/README.md

index 12ef16d34e50712702dc01aa442f45520e1c64e0..0ab66b614e39c14b4c87307bc2659232d9eca001 100644 (file)
@@ -131,6 +131,10 @@ that make use of `run_testcases`.
 
 `TEST_SKIP_TESTCASE=testcase`: takes a space separated list of testcases to skip.
 
+`TEST_SAVE_JOURNAL=0|1|fail`: When `0`, journal file will be removed on exit.
+When `1`, journal file will be saved at `$BUILD_DIR/test/journal`. When `fail`,
+journal file will be saved only when the test is failed. Defaults to `fail`.
+
 `TEST_JOURNAL_USE_TMP=1`: Write test journal to `/tmp` while the test is in
 progress and only move the journal to its final location in the build directory
 (`$BUILD_DIR/test/journal`) when the test is finished.