summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/samba4_tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/selftest/samba4_tests.sh b/source4/selftest/samba4_tests.sh
index 3fde4f3c2f..155a8be7a4 100755
--- a/source4/selftest/samba4_tests.sh
+++ b/source4/selftest/samba4_tests.sh
@@ -290,3 +290,9 @@ if test -f $samba4bindir/nsstest
then
plantest "NSS-TEST using winbind" member $VALGRIND $samba4bindir/nsstest $samba4bindir/shared/libnss_winbind.so
fi
+
+# if trial is available, run the python tests:
+if which trial 2>/dev/null >/dev/null
+then
+ plantest "ldb.python" none PYTHONPATH=bin/python trial lib/ldb/tests/python/api.py
+fi