Re: Running mhash tests
| From: | Alexey Shein | Date: | Wed, 14 Sep 2011 20:46:21 +0000 |
| Subject: | Re: Running mhash tests | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55446@lists.php.net to get a copy of this message | ||
2011/9/15 Pierre Joye <pierre.php@gmail.com>:
> hi,
>
> On Wed, Sep 14, 2011 at 9:58 PM, Alexey Shein <confik@gmail.com> wrote:
>
>> Should we delete these tests (and, maybe deprecate/move to pecl the
>> extension itself)?
>
> I don't think we should, they are here to make sure that the emulation
> layer works fine.
>
>> If not, I'd like to know how to run these tests.
>
> Maybe the skipif is wrong, as far as I remember there was an issue
> with seeing the "mhash" layer as being the mhash extension. Maybe we
> should change the skipif and uses function_exists instead? Have you
> tried it?
>
They both return false for me:
conf@laptop ~/php-src/trunk $ sapi/cli/php -r
'var_dump(extension_loaded("mhash"), function_exists("mhash"));'
bool(false)
bool(false)
conf@laptop ~/php-src/trunk $
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | D³¬ó
> ©#ÖîˆÇàO7ìhttp://www.libgd.org
>
--
Regards,
Shein Alexey