From 5589ac6117309c0c4014a89336246534adc9fdeb Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 22 Nov 2011 20:14:32 +0100 Subject: 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. --- HACKING | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'HACKING') 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 -- cgit v1.2.3