summaryrefslogtreecommitdiffstats
path: root/Documentation/howto-tests.txt
diff options
context:
space:
mode:
authorKarel Zak2015-03-26 13:00:24 +0100
committerKarel Zak2015-03-26 13:00:24 +0100
commitd7030b0441bb58082ee61ff43dbdf41be871674b (patch)
treec121d641415e22937543883ca37e3d7a57c7e1a9 /Documentation/howto-tests.txt
parenttests: add documentation about environment variables (diff)
downloadkernel-qcow2-util-linux-d7030b0441bb58082ee61ff43dbdf41be871674b.tar.gz
kernel-qcow2-util-linux-d7030b0441bb58082ee61ff43dbdf41be871674b.tar.xz
kernel-qcow2-util-linux-d7030b0441bb58082ee61ff43dbdf41be871674b.zip
docs: document --exclude for tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation/howto-tests.txt')
-rw-r--r--Documentation/howto-tests.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/howto-tests.txt b/Documentation/howto-tests.txt
index 7b5b9a737..c46e5826d 100644
--- a/Documentation/howto-tests.txt
+++ b/Documentation/howto-tests.txt
@@ -38,6 +38,16 @@
$ ./run.sh blkid
$ ./run.sh libmount
+ The tests is possible to exclude by ./run.sh --exclude=<list> where the
+ <list> is blank separated test names in format "testdir/testname", for example:
+
+ $ ./run.sh --exclude="mount/move"
+
+ The --exclude is evaluated by the ./run.sh script only. See below
+
+ TS_OPT_testdir_[testscript_]fake=
+
+ environment variable which provides more powerful functionality to skip tests.
*** WARNING for root users ***