summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2011-11-22 20:14:32 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2011-11-28 10:18:19 +0100
commit5589ac6117309c0c4014a89336246534adc9fdeb (patch)
tree98730c1af2cf251b8b94031f49e225eea579cca3 /HACKING
parent6481680f4292390f692224624def39dd61d5003b (diff)
testing: allow regex in CLIENT_TEST_SKIP/FAILURES
Both comma separated lists may now contain regular expressions, which is very useful to ignore or skip one test for all data categories, for example. Because tests names did not have special characters in them, previous values still work as before for a literal match against just one test.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING6
1 files changed, 4 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index a95ae3d5..960c2e90 100644
--- a/HACKING
+++ b/HACKING
@@ -155,11 +155,13 @@ It understands several environment variables, among them:
For unattended testing:
- CLIENT_TEST_FAILURES = comma separated list of tests which are allowed
- to fail without affecting the return code of the test runner
+ to fail without affecting the return code of the test runner; each list
+ entry is a regex which must match a complete test name
- CLIENT_TEST_SKIP = comma separated list of tests or test groups which
are not to be executed at all; for this to work the test or test group
has to be passed through test.h's version of ADD_TEST or FilterTest,
- which is the case for most tests but not all
+ which is the case for most tests but not all; as in CLIENT_TEST_FAILURES,
+ each entry is a regex
- CLIENT_TEST_LOG = name of server log file, will be copied and reset
after each sync
- CLIENT_TEST_ALARM = number of seconds a single test is allowed to run