vfs_acl_common: In add_directory_inheritable_components allocate on psd as parent
[Samba/bb.git] / selftest / tests.py
blobd845834957f46ab18fb0f3003d49d8de012c92a9
1 #!/usr/bin/python
2 # This script generates a list of testsuites that should be run as part of
3 # the Samba test suite.
5 # The output of this script is parsed by selftest.pl, which then decides
6 # which of the tests to actually run. It will, for example, skip all tests
7 # listed in selftest/skip or only run a subset during "make quicktest".
9 # The idea is that this script outputs all of the tests of Samba, not
10 # just those that are known to pass, and list those that should be skipped
11 # or are known to fail in selftest/skip or selftest/knownfail. This makes it
12 # very easy to see what functionality is still missing in Samba and makes
13 # it possible to run the testsuite against other servers, such as
14 # Windows that have a different set of features.
16 # The syntax for a testsuite is "-- TEST --" on a single line, followed
17 # by the name of the test, the environment it needs and the command to run, all
18 # three separated by newlines. All other lines in the output are considered
19 # comments.
21 from selftesthelpers import *
23 planpythontestsuite("none", "samba.tests.source")
24 planpythontestsuite("none", "samba.tests.docs")
25 planpythontestsuite("none", "selftest.tests.test_suite", extra_path=[srcdir()])
26 planpythontestsuite("none", "subunit")
27 planpythontestsuite("none", "samba.tests.blackbox.ndrdump")
28 planpythontestsuite("none", "api", name="ldb.python", extra_path=['lib/ldb/tests/python'])
29 planpythontestsuite("none", "samba.tests.credentials")
30 planpythontestsuite("none", "samba.tests.registry")
31 planpythontestsuite("none", "samba.tests.auth")
32 planpythontestsuite("none", "samba.tests.getopt")
33 planpythontestsuite("none", "samba.tests.security")
34 planpythontestsuite("none", "samba.tests.dcerpc.misc")
35 planpythontestsuite("none", "samba.tests.param")
36 planpythontestsuite("none", "samba.tests.upgrade")
37 planpythontestsuite("none", "samba.tests.core")
38 planpythontestsuite("none", "samba.tests.provision")
39 planpythontestsuite("none", "samba.tests.samba3")
40 planpythontestsuite("none", "samba.tests.strings")
41 planpythontestsuite("none", "samba.tests.netcmd")
42 planpythontestsuite("none", "samba.tests.dcerpc.rpc_talloc")
43 planpythontestsuite("none", "samba.tests.samdb")
44 planpythontestsuite("none", "samba.tests.hostconfig")
45 planpythontestsuite("none", "samba.tests.messaging")
46 planpythontestsuite("none", "samba.tests.samba3sam")
47 planpythontestsuite("none", "wafsamba.tests.test_suite", extra_path=[os.path.join(samba4srcdir, "..", "buildtools"), os.path.join(samba4srcdir, "..", "buildtools", "wafadmin")])
48 plantestsuite("samba4.blackbox.dbcheck.alpha13", "none" , ["PYTHON=%s" % python, os.path.join(bbdir, "dbcheck-alpha13.sh"), '$PREFIX_ABS/provision', configuration])
49 planpythontestsuite("none", "samba.tests.upgradeprovision")
50 planpythontestsuite("none", "samba.tests.xattr")
51 planpythontestsuite("none", "samba.tests.ntacls")
52 planpythontestsuite("none", "samba.tests.policy")