From ff82afb1f8ad3cf950277487aff05d442d03c969 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 5 Oct 2012 11:51:37 +0200 Subject: selftest: Move more tests to common list script. Autobuild-User(master): Jelmer Vernooij Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104 --- selftest/selftesthelpers.py | 6 ++++++ selftest/tests.py | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'selftest') 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") -- cgit