1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/buildtools/wafsamba
Douglas Bagnall c247afbda0 pytests: heed assertEquals deprecation warning en-masse
TestCase.assertEquals() is an alias for TestCase.assertEqual() and
has been deprecated since Python 2.7.

When we run our tests with in python developer mode (`PYTHONDEVMODE=1
make test`) we get 580 DeprecationWarnings about this.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
2020-02-07 10:37:37 +00:00
..
tests pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
__init__.py waf: Add initial unit test for samba_utils. 2012-02-12 18:44:09 +01:00
configure_file.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
generic_cc.py wafsamba: fix generic_cc.py to work with waf 2 2018-09-10 19:28:15 +02:00
pkgconfig.py buildtools/wafsamba: add_manual_dependency needs bytes for value 2018-09-27 01:54:27 +02:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py build: Fix the build without system gssapi headers 2019-12-10 00:29:54 +00:00
samba_abi.py samba_abi.py: avoid inefficient string concatenations 2019-09-21 19:33:25 +00:00
samba_autoconf.py pidl: optionally annotate output for debug purposes 2019-12-04 05:10:31 +00:00
samba_autoproto.py build: Remove workaround for missing os.path.relpath in Python < 2.6 2019-11-13 08:42:30 +00:00
samba_bundled.py samba_bundled.py avoid inefficient string concatenations 2019-09-21 19:33:25 +00:00
samba_conftests.py waf: fix compiler warnings in configure checks 2019-02-17 13:33:14 +01:00
samba_cross.py wafsamba: pass environment to cross-execute tests 2019-10-20 12:06:30 +00:00
samba_deps.py build: Remove workaround for missing os.path.relpath in Python < 2.6 2019-11-13 08:42:30 +00:00
samba_dist.py build: Remove workaround for missing os.path.relpath in Python < 2.6 2019-11-13 08:42:30 +00:00
samba_git.py build:wafsamba: Build on waf 1.9 2018-09-05 06:37:21 +02:00
samba_headers.py build: Remove workaround for missing os.path.relpath in Python < 2.6 2019-11-13 08:42:30 +00:00
samba_install.py buildtools/wafsamba/samba_install.py: typo fixes 2019-10-31 00:43:38 +00:00
samba_patterns.py build: add SAMBA_DATADIR as "samba" subdirectory of DATADIR 2019-10-09 14:35:28 +00:00
samba_perl.py buildtools/wafsamba: Avoid decode when using python2 2019-02-11 07:43:31 +01:00
samba_pidl.py lib/fuzzing: Split up automatically build fuzzers into TYPE_{IN,OUT,STRUCT} 2019-12-11 02:55:32 +00:00
samba_python.py build: Skip build of python bindings when in fuzzing mode 2019-12-10 07:50:29 +00:00
samba_third_party.py third_party: Update nss_wrapper to version 1.1.7 2019-11-14 23:50:06 +00:00
samba_utils.py wafsamba: Do not use 'rU' as the 'U' is deprecated in Python 3.9 2020-02-06 07:30:13 +00:00
samba_version.py samba_version.py: avoid inefficient string concatenations 2019-09-21 20:50:17 +00:00
samba_waf18.py waf: only set mandatory to False if not already set by the caller 2019-04-29 17:07:02 +00:00
samba_wildcard.py build: Remove workaround for missing os.path.relpath in Python < 2.6 2019-11-13 08:42:30 +00:00
stale_files.py buildtools/wafsamba: port stale_files to waf 2.0 2018-09-05 06:37:27 +02:00
symbols.py build: Remove workaround for missing os.path.relpath in Python < 2.6 2019-11-13 08:42:30 +00:00
test_duplicate_symbol.sh selftest: Run waf build --dup-symbol-check under $PYTHON 2018-12-13 01:49:30 +01:00
wafsamba.py lib/fuzzing: Add mode for the AFL fuzzer 2019-12-10 07:50:29 +00:00
wscript lib/fuzzing: Add mode for the AFL fuzzer 2019-12-10 07:50:29 +00:00

This is a set of waf 'tools' to help make building the Samba
components easier, by having common functions in one place. This gives
us a more consistent build, and ensures that our project rules are
obeyed


TODO:
	see http://wiki.samba.org/index.php/Waf