svn commit: samba r26673 - in branches/SAMBA_4_0: . source/selftest

jelmer at samba.org jelmer at samba.org
Sat Jan 5 19:33:06 GMT 2008


Author: jelmer
Date: 2008-01-05 19:33:05 +0000 (Sat, 05 Jan 2008)
New Revision: 26673

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26673

Log:
selftest: Document the purpose and output format of samba4_tests.sh.

Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/selftest/samba4_tests.sh


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/selftest/samba4_tests.sh
===================================================================
--- branches/SAMBA_4_0/source/selftest/samba4_tests.sh	2008-01-05 19:03:43 UTC (rev 26672)
+++ branches/SAMBA_4_0/source/selftest/samba4_tests.sh	2008-01-05 19:33:05 UTC (rev 26673)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# This script generates a list of testsuites that should be run as part of 
+# the Samba 4 test suite.
+
+# The output of this script is parsed by selftest.pl, which then decides 
+# which of the tests to actually run. It will, for example, skip all tests 
+# listed in samba4-skip or only run a subset during "make quicktest".
+
+# The idea is that this script outputs all of the tests of Samba 4, not 
+# just those that are known to pass, and list those that should be skipped 
+# or are known to file in samba4-skip/samba4-knownfail. This makes it 
+# very easy to see what functionality is still missing in Samba 4 and makes 
+# it possible to run the testsuite against other servers, such as Samba 3 or 
+# Windows that have a different set of features.
+
+# The syntax for a testsuite is "-- TEST --" on a single line, followed 
+# by the name of the test, the environment it needs and the command to run, all 
+# three separated by newlines. All other lines in the output are considered 
+# comments.
+
 if [ ! -n "$PERL" ]
 then
 	PERL=perl



More information about the samba-cvs mailing list