from selftesthelpers import configuration, valgrindify
from selftesthelpers import skiptestsuite
+samba4bindir = bindir()
try:
config_h = os.environ["CONFIG_H"]
except KeyError:
- samba4bindir = bindir()
config_h = os.path.join(samba4bindir, "default/include/config.h")
# check available features
plantestsuite(f"ldb.unittests.{ldb_test_exe}", "none",
[os.path.join(bindir(), f"default/lib/ldb/{ldb_test_exe}")])
+# Shell based LDB blackbox tests and the older ldbtest C tests
+ldbdir = os.path.join(srcdir(), "lib/ldb")
+plantestsuite("ldb.base", "none", "%s/tests/test-tdb-subunit.sh %s" % (ldbdir, samba4bindir))
+
planpythontestsuite("none", "samba.tests.credentials")
planpythontestsuite("none", "samba.tests.registry")
planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.auth")
for t in smbtorture4_testsuites("dsdb."):
plansmbtorture4testsuite(t, "ad_dc:local", "localhost")
-ldbdir = os.path.join(srcdir(), "lib/ldb")
-plantestsuite("ldb.base", "none", "%s/tests/test-tdb-subunit.sh %s" % (ldbdir, samba4bindir))
-
plantestsuite_loadlist("samba4.tests.attr_from_server.python(ad_dc_ntvfs)",
"ad_dc_ntvfs:local",
[python, os.path.join(DSDB_PYTEST_DIR, "attr_from_server.py"),