summaryrefslogtreecommitdiff
path: root/tests/README.md
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-11-18 15:18:02 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-23 10:51:43 +0100
commit4884ae2f5e87e1cfbf7cc1d5624e0600b1fa46b3 (patch)
tree079104e1620feb45b498bac00f1218ec868252d2 /tests/README.md
parent7cd40e125b42831f1cda999a5d206739853120fd (diff)
btrfs-progs: tests: enhance TEST_LOG features
Add new keyword to dump the log file after any test fails. Can be useful for remote analysis of test failures. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/README.md b/tests/README.md
index ca45cf6f..f0d54d5e 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -108,9 +108,13 @@ the root helper).
### Verbosity
-Setting the variable `TEST_LOG=tty` will print all commands executed by some of
-the wrappers (`run_check` etc), other commands are not printed to the terminal
-(but the full output is in the log).
+* `TEST_LOG=tty` -- setting the variable will print all commands executed by
+ some of the wrappers (`run_check` etc), other commands are not printed to the
+ terminal (but the full output is in the log)
+
+* `TEST_LOG=dump` -- dump the entire testing log when a test fails
+
+Multiple values can be separated by `,`.
### Permissions