buildtools: Add a helper for running Python tests
authorPetr Viktorin <pviktori@redhat.com>
Tue, 10 Mar 2015 17:19:14 +0000 (18:19 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 May 2015 17:28:19 +0000 (19:28 +0200)
commit91b407fc94fcd0015fe91b84619f3a6d1d3595f2
tree633eff65c3b69f709d06a3f437609aaa05474312
parent6f490000c6b233f275598a4680b2c49fcb69d35a
buildtools: Add a helper for running Python tests

Add the function samba_utils.RUN_PYTHON_TESTS for running a Python
test. When building for multiple Python versions, all are tested.

Also, add the list of configured Python interpreters to build config.

Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
buildtools/wafsamba/samba_python.py
buildtools/wafsamba/samba_utils.py