The branch, master has been updated via 89aed2771c227192652bd4e28cffd7094f34e1db (commit) via 4bef8acc47a5cc24f24eaac5db8954abe89862d8 (commit) via 93384da22620f9ab2304ccfc54c8bd6bc8009303 (commit) from 38780d659be8f8bb061409dd7bee60628e0050de (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 89aed2771c227192652bd4e28cffd7094f34e1db Author: Jelmer Vernooij <jel...@samba.org> Date: Fri Jun 12 17:53:46 2009 +0200 subunit: non-zero exit code if one or more testsuites failed. commit 4bef8acc47a5cc24f24eaac5db8954abe89862d8 Author: Jelmer Vernooij <jel...@samba.org> Date: Fri Jun 12 17:45:15 2009 +0200 selftest: Fix references to filenames with knownfailures and slow tests. commit 93384da22620f9ab2304ccfc54c8bd6bc8009303 Author: Jelmer Vernooij <jel...@samba.org> Date: Fri Jun 12 15:54:50 2009 +0200 selftest: Document the fact that test runner and formatter are now separate tools. ----------------------------------------------------------------------- Summary of changes: selftest/README | 9 +++++++++ selftest/filter-subunit.pl | 4 +--- source4/selftest/skip | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/selftest/README b/selftest/README index a8c5101..4ae0436 100644 --- a/selftest/README +++ b/selftest/README @@ -3,6 +3,15 @@ This directory contains test scripts that are useful for running a bunch of tests all at once. +There are two parts to this: + + * The test runner (selftest/selftest.pl) + * The test formatter + +selftest.pl simply outputs subunit, which can then be formatted or analyzed +by tools that understand the subunit protocol. One of these tools is +format-subunit.pl, which is used by default as part of "make test". + Available testsuites ==================== The available testsuites are obtained from a script, usually diff --git a/selftest/filter-subunit.pl b/selftest/filter-subunit.pl index 5a2e5e3..9ebc677 100755 --- a/selftest/filter-subunit.pl +++ b/selftest/filter-subunit.pl @@ -94,6 +94,4 @@ my $statistics = { my $msg_ops = new Subunit::Filter($opt_prefix, \...@expected_failures, $opt_strip_ok_output); -parse_results($msg_ops, $statistics, *STDIN); - -0; +exit(parse_results($msg_ops, $statistics, *STDIN)); diff --git a/source4/selftest/skip b/source4/selftest/skip index 138ce2b..165c07c 100644 --- a/source4/selftest/skip +++ b/source4/selftest/skip @@ -9,9 +9,9 @@ # * Testsuite hangs indefinitely # # If a testsuite is partially succeeding, please list the failing bits -# in the samba4-knownfail file rather than disabling the testsuite completely. +# in the selftest/knownfail file rather than disabling the testsuite completely. # -# If a testsuite is very slow, please add it to samba4-slow instead. +# If a testsuite is very slow, please add it to selftest/slow instead. # # Please add a comment for each testsuite you disable explaining why # it is being skipped. -- Samba Shared Repository