Skip to content

Commit

Permalink
script/autobuild.py: try make test TESTS=samba3.*ktest for samba-syst…
Browse files Browse the repository at this point in the history
…emkrb5

Signed-off-by: Stefan Metzmacher <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
  • Loading branch information
metze-samba committed Jan 10, 2017
1 parent 1204b44 commit e6a5e6a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion script/autobuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
("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")
Expand Down
6 changes: 6 additions & 0 deletions selftest/skip.no-GSS_KRB5_CRED_NO_CI_FLAGS_X
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions selftest/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit e6a5e6a

Please sign in to comment.