diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-01-03 11:15:14 +0200 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2017-01-04 15:42:25 +0800 |
commit | 3abf189ff23594d61d48adb8d75e22691bb98dec (patch) | |
tree | d0aef0ca97f9b9ff015d955ad6ffceec0a5fc3ab | |
parent | 5d801985113e284b60fe1aa11bd73eef699900b9 (diff) | |
download | xfstests-dev-3abf189ff23594d61d48adb8d75e22691bb98dec.tar.gz |
check: document tests include/exclude options
Add argument description and examples to usage() for the
various tests include and exclude options.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-x | check | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -80,9 +80,36 @@ check options testlist options -g group[,group...] include tests from these groups -x group[,group...] exclude tests from these groups - -X file exclude individual tests + -X exclude_file exclude individual tests -E external_file exclude individual tests [testlist] include tests matching names in testlist + +testlist argument is a list of tests in the form of <test dir>/<test name>. + +<test dir> is a directory under tests that contains a group file, +with a list of the names of the tests in that directory. + +<test name> may be either a specific test file name (e.g. xfs/001) or +a test file name match pattern (e.g. xfs/*). + +group argument is either a name of a tests group to collect from all +the test dirs (e.g. quick) or a name of a tests group to collect from +a specific tests dir in the form of <test dir>/<group name> (e.g. xfs/quick). + +exclude_file argument refers to a name of a file inside each test directory. +for every test dir where this file is found, the listed test names are +excluded from the list of tests to run from that test dir. + +external_file argument is a path to a single file containing a list of tests +to exclude in the form of <test dir>/<test name>. + +examples: + check xfs/001 + check -g quick + check -g xfs/quick + check -x stress xfs/* + check -X .exclude -g auto + check -E ~/.xfstests.exclude ' exit 0 } |