summaryrefslogtreecommitdiff
path: root/tests/README.md
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-11-22 13:32:18 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-23 11:07:06 +0100
commit50e742a6b096116b0a0117127127775f8e03bff6 (patch)
treebd317440e5b03d905b3fbc2fbb76ecdf3f0397c2 /tests/README.md
parent55db7bf0598ab782d64cd1605a3c9a7162997a54 (diff)
btrfs-progs: tests: add support for additional command arguments
Add convenient support for extending command arguments, now implemented for 'btrfs check' to cover the low-memory mode. If defined, arguments are inserted to any 'btrfs check' command in tests. Exceptions could be defined in common.local. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/README.md b/tests/README.md
index 4866447..bb2846a 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -107,7 +107,7 @@ are possible.
Note: instrumentation is not applied to privileged commands (anything that uses
the root helper).
-### Verbosity
+### Verbosity, test tuning
* `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
@@ -115,6 +115,13 @@ the root helper).
* `TEST_LOG=dump` -- dump the entire testing log when a test fails
+* `TEST_ENABLE_OVERRIDE` -- defined either as make arguments or via
+ `tests/common.local` to enable additional arguments to some commands, using
+ the variable(s) below (default: false, enable by setting to 'true')
+
+* `TEST_ARGS_CHECK` -- user-defined arguments to `btrfs check`, before the
+ test-specific arguments
+
Multiple values can be separated by `,`.
### Permissions