Re: svn: /php/php-src/ branches/PHP_5_3/ext/sysvshm/tests/001.phpt branches/PHP_5_4/ext/sysvshm/tests/001.phpt trunk/ext/sysvshm/tests/001.phpt
| From: | Pierre Joye | Date: | Tue, 06 Sep 2011 09:29:47 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_3/ext/sysvshm/tests/001.phpt branches/PHP_5_4/ext/sysvshm/tests/001.phpt trunk/ext/sysvshm/tests/001.phpt | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-66284@lists.php.net to get a copy of this message | ||
no idea but this test is in there and fails when the ext is not
loadead, so I simply skip if the ext is not available. Feel free to
move this test if its location is wrong.
On Tue, Sep 6, 2011 at 11:27 AM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> On Tue, Sep 6, 2011 at 09:49, Pierre Joye <pajoye@php.net> wrote:
>> pajoye Tue, 06 Sep 2011 07:49:31 +0000
>>
>> Revision:
>> http://svn.php.net/viewvc?view=revision&revision=316230
>>
>> Log:
>> - add skipif
>>
>> Changed paths:
>> U php/php-src/branches/PHP_5_3/ext/sysvshm/tests/001.phpt
>> U php/php-src/branches/PHP_5_4/ext/sysvshm/tests/001.phpt
>> U php/php-src/trunk/ext/sysvshm/tests/001.phpt
>>
>> Modified: php/php-src/branches/PHP_5_3/ext/sysvshm/tests/001.phpt
>> ===================================================================
>> --- php/php-src/branches/PHP_5_3/ext/sysvshm/tests/001.phpt 2011-09-06 07:47:20 UTC
>> (rev 316229)
>> +++ php/php-src/branches/PHP_5_3/ext/sysvshm/tests/001.phpt 2011-09-06 07:49:31 UTC
>> (rev 316230)
>> @@ -1,5 +1,7 @@
>> --TEST--
>> ftok() tests
>> +--SKIPIF--
>> +<?php if (!extension_loaded("sysvshm")) print "skip"; ?>
>
>
> ftok() is actually not part of syssvhm, its defined in the standard
> ext (ext/standard/ftok.c).
>
>
> -Hannes
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org