summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-12-23 14:07:51 +0100
committerStefan Metzmacher <metze@samba.org>2017-01-10 13:54:17 +0100
commite6a5e6a01a3ada62a8490ae612e926738aa78a28 (patch)
treefb6cb8b3999ea5cdb6652b4b480d37c506329a23
parent1204b4432d23556bc8af32b0388141ae555cacb2 (diff)
downloadsamba-e6a5e6a01a3ada62a8490ae612e926738aa78a28.tar.gz
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>
-rwxr-xr-xscript/autobuild.py2
-rw-r--r--selftest/skip.no-GSS_KRB5_CRED_NO_CI_FLAGS_X6
-rw-r--r--selftest/wscript4
3 files changed, 11 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 3d76130b57d..45f449ba027 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -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")
diff --git a/selftest/skip.no-GSS_KRB5_CRED_NO_CI_FLAGS_X b/selftest/skip.no-GSS_KRB5_CRED_NO_CI_FLAGS_X
new file mode 100644
index 00000000000..9ec679d740b
--- /dev/null
+++ b/selftest/skip.no-GSS_KRB5_CRED_NO_CI_FLAGS_X
@@ -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
diff --git a/selftest/wscript b/selftest/wscript
index 4a3fb4e0f7e..86deac5e22b 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -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).