mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
selftest/tests.py: remove always-needed, never-set with_cmocka flag
We have cmocka in third_party, so we are never without it. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (Backported from commit 33ef0e57a4f08eae5ea06f482374fbc0a1014de6 by Andrew Bartlett)
This commit is contained in:
parent
a915e23add
commit
c775bd8b26
@ -38,7 +38,6 @@ finally:
|
||||
f.close()
|
||||
|
||||
have_man_pages_support = ("XSLTPROC_MANPAGES" in config_hash)
|
||||
with_cmocka = ("HAVE_CMOCKA" in config_hash)
|
||||
with_pam = ("WITH_PAM" in config_hash)
|
||||
pam_wrapper_so_path=config_hash["LIBPAM_WRAPPER_SO_PATH"]
|
||||
|
||||
@ -168,13 +167,12 @@ if with_pam:
|
||||
valgrindify(python), pam_wrapper_so_path,
|
||||
"$DOMAIN", "alice", "Secret007"])
|
||||
|
||||
if with_cmocka:
|
||||
plantestsuite("samba.unittests.krb5samba", "none",
|
||||
[os.path.join(bindir(), "default/testsuite/unittests/test_krb5samba")])
|
||||
plantestsuite("samba.unittests.sambafs_srv_pipe", "none",
|
||||
[os.path.join(bindir(), "default/testsuite/unittests/test_sambafs_srv_pipe")])
|
||||
plantestsuite("samba.unittests.lib_util_modules", "none",
|
||||
[os.path.join(bindir(), "default/testsuite/unittests/test_lib_util_modules")])
|
||||
plantestsuite("samba.unittests.krb5samba", "none",
|
||||
[os.path.join(bindir(), "default/testsuite/unittests/test_krb5samba")])
|
||||
plantestsuite("samba.unittests.sambafs_srv_pipe", "none",
|
||||
[os.path.join(bindir(), "default/testsuite/unittests/test_sambafs_srv_pipe")])
|
||||
plantestsuite("samba.unittests.lib_util_modules", "none",
|
||||
[os.path.join(bindir(), "default/testsuite/unittests/test_lib_util_modules")])
|
||||
|
||||
plantestsuite("samba.unittests.smb1cli_session", "none",
|
||||
[os.path.join(bindir(), "default/libcli/smb/test_smb1cli_session")])
|
||||
plantestsuite("samba.unittests.smb1cli_session", "none",
|
||||
[os.path.join(bindir(), "default/libcli/smb/test_smb1cli_session")])
|
||||
|
Loading…
x
Reference in New Issue
Block a user