[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8614) Test suite fails when using --with-threads=no



Full_Name: Brian Wright
Version: 2.4.44
OS: CentOS 6.8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (209.136.225.254)


When configuring and compiling OpenLDAP using --with-threads=no flag, the test
suite fails to complete. It seems the test suite appears to be dependent on
threads for a successful run. Unfortunately, this test suite issue makes it
difficult to know if LDAP is functioning correctly when compiled without
threads.

Reproduce this by using the following:

./configure --with-threads=no
make depend
make
make test

Note, all backends fail at least one test when threads are disabled. For
example, if you set --enable-bdb=no --enable-hdb=no and leave only
--enable-mdb=yes, mdb itself fails the test suite. The same for bdb and hdb if
they are the only backends available.

If you plan on retaining --with-threads=no feature, someone might want to update
the test suite to properly test LDAP when threads are disabled. Or
alternatively, inform the user that 'make test' doesn't support testing LDAP
when threads are disabled.