1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

script/autobuild.py: try make test TESTS=samba3.*ktest for samba-systemkrb5

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-12-23 14:07:51 +01:00
parent 1204b4432d
commit e6a5e6a01a
3 changed files with 11 additions and 1 deletions

View File

@ -169,7 +169,7 @@ tasks = {
("make", "make -j", "text/plain"),
# we currently cannot run a full make test, a limited list of tests could be run
# via "make test TESTS=sometests"
# ("test", "make test FAIL_IMMEDIATELY=1", "text/plain"),
("test", "make test FAIL_IMMEDIATELY=1 TESTS='samba3.*ktest'", "text/plain"),
("install", "make install", "text/plain"),
("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
("clean", "make clean", "text/plain")

View File

@ -0,0 +1,6 @@
# GSS_KRB5_CRED_NO_CI_FLAGS_X is not available in older MIT releases (< 1.14)
^samba3.rpc.lsa.lookupsids.krb5.*ncacn.*packet.*ktest
^samba3.rpc.lsa.lookupsids.krb5.*ncacn.*sign.*ktest
^samba3.blackbox.rpcclient.krb5.*ncacn.*krb5\].*ktest
^samba3.blackbox.rpcclient.krb5.*ncacn.*packet\].*ktest
^samba3.blackbox.rpcclient.krb5.*ncacn.*sign\].*ktest

View File

@ -231,6 +231,10 @@ def cmd_testonly(opt):
# FIXME REMOVE ME!
env.OPTIONS += " --use-dns-faking"
if not CONFIG_GET(opt, 'HAVE_GSS_KRB5_CRED_NO_CI_FLAGS_X'):
# older MIT krb5 libraries (< 1.14) don't have
# GSS_KRB5_CRED_NO_CI_FLAGS_X
env.OPTIONS += " --exclude=${srcdir}/selftest/skip.no-GSS_KRB5_CRED_NO_CI_FLAGS_X"
subunit_cache = None
# We use the full path rather than relative path to avoid problems on some platforms (ie. solaris 8).