From c278ee50eeb59f74b960036803e3288c8b329c72 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 4 Jun 2009 17:30:23 +0200 Subject: More work supporting prefixes. --- selftest/README | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'selftest/README') diff --git a/selftest/README b/selftest/README index 3fe6af5362..83a3e6fd49 100644 --- a/selftest/README +++ b/selftest/README @@ -50,6 +50,8 @@ failure: [ 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: @@ -57,6 +59,8 @@ xfail: [ 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: [ REASON ] Announce that the test with the specified name was skipped. Optionally a reason can be specified. -knownfail -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -knownfail: -knownfail: [ 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 ============ -- cgit