diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-10-05 11:51:37 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-10-12 02:06:41 +0200 |
commit | ff82afb1f8ad3cf950277487aff05d442d03c969 (patch) | |
tree | 70cd9dfe47e71f31e6c37d341c3f2326b0bb7eb4 /selftest | |
parent | 21b58b5eacb67b4dee6e7efe90bd529bbfd6ef77 (diff) | |
download | samba-ff82afb1f8ad3cf950277487aff05d442d03c969.tar.gz samba-ff82afb1f8ad3cf950277487aff05d442d03c969.tar.bz2 samba-ff82afb1f8ad3cf950277487aff05d442d03c969.zip |
selftest: Move more tests to common list script.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/selftesthelpers.py | 6 | ||||
-rw-r--r-- | selftest/tests.py | 26 |
2 files changed, 32 insertions, 0 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py index 7fc085477d..45170304e5 100644 --- a/selftest/selftesthelpers.py +++ b/selftest/selftesthelpers.py @@ -177,3 +177,9 @@ def planpythontestsuite(env, module, name=None, extra_path=[]): if pypath: args.insert(0, "PYTHONPATH=%s" % ":".join(["$PYTHONPATH"] + pypath)) plantestsuite_idlist(name, env, args) + + +samba4srcdir = source4dir() +bbdir = os.path.join(srcdir(), "testprogs/blackbox") +configuration = "--configfile=$SMB_CONF_PATH" + diff --git a/selftest/tests.py b/selftest/tests.py index d9ad9e9661..26510a8ba1 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -23,3 +23,29 @@ from selftesthelpers import * planpythontestsuite("none", "samba.tests.source") planpythontestsuite("none", "selftest.tests.test_suite", extra_path=[srcdir()]) planpythontestsuite("none", "subunit") +planpythontestsuite("none", "samba.tests.blackbox.ndrdump") +planpythontestsuite("none", "api", name="ldb.python", extra_path=['lib/ldb/tests/python']) +planpythontestsuite("none", "samba.tests.credentials") +planpythontestsuite("none", "samba.tests.registry") +planpythontestsuite("none", "samba.tests.auth") +planpythontestsuite("none", "samba.tests.getopt") +planpythontestsuite("none", "samba.tests.security") +planpythontestsuite("none", "samba.tests.dcerpc.misc") +planpythontestsuite("none", "samba.tests.param") +planpythontestsuite("none", "samba.tests.upgrade") +planpythontestsuite("none", "samba.tests.core") +planpythontestsuite("none", "samba.tests.provision") +planpythontestsuite("none", "samba.tests.samba3") +planpythontestsuite("none", "samba.tests.strings") +planpythontestsuite("none", "samba.tests.netcmd") +planpythontestsuite("none", "samba.tests.dcerpc.rpc_talloc") +planpythontestsuite("none", "samba.tests.samdb") +planpythontestsuite("none", "samba.tests.hostconfig") +planpythontestsuite("none", "samba.tests.messaging") +planpythontestsuite("none", "samba.tests.samba3sam") +planpythontestsuite("none", "wafsamba.tests.test_suite", extra_path=[os.path.join(samba4srcdir, "..", "buildtools"), os.path.join(samba4srcdir, "..", "buildtools", "wafadmin")]) +plantestsuite("samba4.blackbox.dbcheck.alpha13", "none" , ["PYTHON=%s" % python, os.path.join(bbdir, "dbcheck-alpha13.sh"), '$PREFIX_ABS/provision', configuration]) +planpythontestsuite("none", "samba.tests.upgradeprovision") +planpythontestsuite("none", "samba.tests.xattr") +planpythontestsuite("none", "samba.tests.ntacls") +planpythontestsuite("none", "samba.tests.policy") |