Attempted running Tests/runtests.sh with no success. It draws erros of every description.
Run from an ebuild;
pushd Tests > /dev/null
./runtests.sh
popd > /dev/null
nothing passes. the temp directory alone
/var/tmp/python-ldap-test
set in Tests/slapd.py ensures it will never work from in ebuild in
/mnt/gen2/TmpDir/portage/dev-python/python-ldap-2.4.9/work/python-ldap-2.4.9/
The script appears to require config settings to be set for;
temp directory,
configuration file (default (/etc/openladp/slapd.conf
a handler for a logger.
cd to
/mnt/gen2/TmpDir/portage/dev-python/python-ldap-2.4.9/work/python-ldap-2.4.9/Tests/
Tests # ./runtests.sh
performs much the same.
----------------------------------------------------------------------------------------------------
t_cext.py:
No handlers could be found for logger "Slapd"
slaptest: bad configuration file!
Eslaptest: bad configuration file!
Eslaptest: bad configuration file!
--------------------------------------------------------------------------------------
ERROR: test_abandon (__main__.TestLdapCExtension)
----------------------------------------------------------------------
File "/mnt/gen2/TmpDir/portage/dev-python/python-ldap-2.4.9/work/python-ldap-2.4.9/Tests/slapd.py", line 260, in _test_configuration
raise RuntimeError("configuration test failed")
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
----------------------------------------------------------------------
Ran 3 tests in 0.008s
FAILED (errors=3)
Tests that failed: t_cext.py t_ldapurl.py t_search.py
Perfect score.
python-ldap-2.4.9_build.log with test failures.
tracked now solely in more recent #68