]> 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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Jul 2025 19:54:42 +0000 (04:54 +0900)
test/integration-tests/README.md

index ea3f4f5efbc133a0fc49c30acc8db5718083b64b..4fea50660fe219bc5ae778e2eda250c95f45eaa3 100644 (file)
@@ -133,6 +133,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.