Re: LDAP module test suite
| From: | Michael Wallner | Date: | Mon, 15 Jun 2015 15:22:59 +0000 |
| Subject: | Re: LDAP module test suite | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86663@lists.php.net to get a copy of this message | ||
On 15/06/15 15:43, Chris Wright wrote:
> On 15 June 2015 at 14:02, Côme BERNIGAUD <come.bernigaud@opensides.be>
> wrote:
>
>> Hello,
>>
>> What is the needed configuration to be able to run the whole LDAP test
>> suite?
>> It connects with "cn=Manager,dc=my-domain,dc=com" but then tries to create
>> "dc=my-domain,dc=com".
>> How can "cn=Manager,dc=my-domain,dc=com" exist if "dc=my-domain,dc=com"
>> does not?
>>
>> Is there any information about a known configuration to be able to pass
>> all LDAP tests?
Check out ext/ldap/tests/connect.inc; you can pass various parameters
from the environment.
>>
>> Côme
>>
>> PS: Also, is there a way to launch only ldap tests with PHP Makefile?
>>
>>
> You can't do it with "make test" afaik, but you can manually invoke
> run-tests.php and pass it a path, e.g. php run-tests.php ext/ldap/
>
You can run
make test TESTS=path/to/ext/ldap.
--
Regards,
Mike