RE: [PHP-CVS] Re: com php-src: add test for bug #73068: ext/sqlite3/tests/bug73068.phpt
| From: | Anatol Belski | Date: | Tue, 13 Sep 2016 17:54:45 +0000 |
| Subject: | RE: [PHP-CVS] Re: com php-src: add test for bug #73068: ext/sqlite3/tests/bug73068.phpt | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-94495@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Christoph M. Becker [mailto:cmbecker69@gmx.de]
> Sent: Tuesday, September 13, 2016 6:08 PM
> To: Anatol Belski <ab@php.net>; php-cvs@lists.php.net
> Subject: [PHP-CVS] Re: com php-src: add test for bug #73068:
> ext/sqlite3/tests/bug73068.phpt
>
> Hi Anatol!
>
> On 13.09.2016 at 16:28, Anatol Belski wrote:
>
> >> -----Original Message-----
> >> From: Christoph M. Becker [mailto:cmbecker69@gmx.de]
> >> Sent: Tuesday, September 13, 2016 3:45 PM
> >> To: Anatol Belski <ab@php.net>; php-cvs@lists.php.net
> >> Subject: Re: com php-src: add test for bug #73068:
> >> ext/sqlite3/tests/bug73068.phpt
> >>
> >> On 13.09.2016 at 15:28, Anatol Belski wrote:
> >>
> >>> Commit: 248f8c3a91ce28d2d7b1096e6b381ba9029896db
> >>> Author: Anatol Belski <ab@php.net> Tue, 13 Sep 2016 15:28:28
> >>> +0200
> >>> Parents: fc31d6fed4ce4e58bf46204a31d4441684722c81
> >>> Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
> >>>
> >>> Link: http://git.php.net/?p=php-
> >> src.git;a=commitdiff;h=248f8c3a91ce28d2d7b1096e6b381ba9029896db
> >>>
> >>> Log:
> >>> add test for bug #73068
> >>>
> >>> Bugs:
> >>> https://bugs.php.net/73068
> >>>
> >>> Changed paths:
> >>> A ext/sqlite3/tests/bug73068.phpt
> >>>
> >>>
> >>> Diff:
> >>> diff --git a/ext/sqlite3/tests/bug73068.phpt
> >>> b/ext/sqlite3/tests/bug73068.phpt new file mode 100644 index
> >>> 0000000..f3a05d7
> >>> --- /dev/null
> >>> +++ b/ext/sqlite3/tests/bug73068.phpt
> >>> @@ -0,0 +1,37 @@
> >>> +--TEST--
> >>> +Bug #73068 SQLite3 may fail to DELETE
> >>> +--SKIPIF--
> >>> +<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
> >>> +--FILE--
> >>
> >> This test is supposed to fail for SQLite 3.11.0 - 3.14.1, so with
> >> regard to system
> >> libsqlite3 there should be a respective handler in the SKIPIF
> >> section. I'm not sure, if that would fit well with distros, which might backport
> the bugfix.
> >
> > You're right. But, we test the bundled SQLite on Travis and it is what
> > is used by default. Furthermore, I see fe Ubuntu 16.04 is even using
> > SQLite 3.11.0 and PHP 7.0 links with it. This will be helpful for
> > package maintainers to reveal this regression, as otherwise the test
> > will just skip
>
> Ah, good point! However, I see the problem that end-users might be confused
> by failing tests, and furthermore the QA team might receive a lot of noise
> produced by run-tests.php. As we don't have the ability to mark a test as XFAIL
> dynamically, would it make sense to split the test?
>
> Note that I've recently added SKIPIFs for some GD PHPTs when run against
> (older) external libgd. I would be somewhat uncomfortable to simply remove
> these SKIPIFs.
>
Yeah, that's a point, too. I don't mind XFAIL. I'd suggest to see first, how much
spam it causes. It's a bit different case - libsqlite is bundled, only one test, quite a clear
info in the ticket. It's kinda situation we have with other bundled libs where some can decide
to use an external one.
Thanks
Anatol