summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnders Blomdell <anders.blomdell@control.lth.se>2014-07-10 20:17:25 +0200
committerVijay Bellur <vbellur@redhat.com>2014-07-15 22:59:44 -0700
commitde359f8b2aa1be9127b6d27a6283c202d089cd81 (patch)
tree5d0c536fed59aaa8fe1eba23e47f5f0e90ab1bc8 /tests
parentfde2b73746e73ea16ba246b8261b552ed2d894dd (diff)
Add possibility to run single tests
Change-Id: I9282b711c09611bd0fd4cc814f3ec34aa67d10c0 BUG: 1118453 Signed-off-by: Anders Blomdell <anders.blomdell@control.lth.se> Reviewed-on: http://review.gluster.org/8291 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/README.md b/tests/README.md
index 3a1406f6ff1..84138fffb45 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -20,6 +20,16 @@ Regression tests framework for GlusterFS
## Usage
- Execute `/usr/share/glusterfs/run-tests.sh` as root.
+- If you want to run individual tests located in `/usr/share/glusterfs/tests`
+ as opposed to the full test-suite, invoke it as
+ `/usr/share/glusterfs/run-tests.sh [pattern]*`, where pattern can be:
+ - the trailing parts of the full path of a test,
+ e.g. `tests/basic/mount.t`
+ - the name of a file or directory, e.g `self-heal.t` or `basic/`
+ - bug number, which will match against numbered bugs in the
+ `tests/bugs/` directory.
+ - a glob pattern (see `man 7 glob` for mor info on globs)
+
- If some test cases fail, report to GlusterFS community at
`gluster-devel@gluster.org`.