summaryrefslogtreecommitdiff
path: root/selftest/README
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-06-04 17:30:23 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-11 19:59:58 +0200
commitc278ee50eeb59f74b960036803e3288c8b329c72 (patch)
tree14ad13be2d681ac30682f71d22914cf00e6b0015 /selftest/README
parent16a69f358a38c60577e25bc0811a220f8e71d2cd (diff)
downloadsamba-c278ee50eeb59f74b960036803e3288c8b329c72.tar.gz
samba-c278ee50eeb59f74b960036803e3288c8b329c72.tar.bz2
samba-c278ee50eeb59f74b960036803e3288c8b329c72.zip
More work supporting prefixes.
Diffstat (limited to 'selftest/README')
-rw-r--r--selftest/README23
1 files changed, 16 insertions, 7 deletions
diff --git a/selftest/README b/selftest/README
index 3fe6af5362..83a3e6fd49 100644
--- a/selftest/README
+++ b/selftest/README
@@ -50,6 +50,8 @@ failure: <NAME> [ REASON ]
Announce that the test with the specified name failed. Optionally, it is
possible to specify a reason it failed.
+The alias "fail" will also work.
+
xfail
~~~~~
xfail: <NAME>
@@ -57,6 +59,8 @@ xfail: <NAME> [ REASON ]
Announce that the test with the specified name failed but that the failure
was expected, e.g. it's a test for a known bug that hasn't been fixed yet.
+Alternatively it is also possible to simply return "failure:" here but
+specify in the samba4-knownfailures file that it is failing.
skip
~~~~
@@ -66,14 +70,19 @@ skip: <NAME> [ REASON ]
Announce that the test with the specified name was skipped. Optionally a
reason can be specified.
-knownfail
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-knownfail: <NAME>
-knownfail: <NAME> [ REASON ]
+time
+~~~~
+time: YYYY-MM-DD HH:mm:ssZ
+
+Announce the current time. This may be used to calculate the duration of
+various tests.
-Announce that the test with the specified name was run and failed as expected.
-Alternatively it is also possible to simply return "failure:" here but
-specify in the samba4-knownfailures file that it is failing.
+prefix
+~~~~~~
+prefix: Prefix
+
+Change the global prefix for test names. To unset the prefix, specify an empty
+string.
Environments
============