On Wed, Sep 15, 2021 at 12:22 PM Jeremy Mikola <jmik...@gmail.com> wrote:

> I just discovered that run-tests.php was changed to cache SKIPIF evaluation
> since 8.1.0beta3[1]. I believe ext-mongodb ran into the same issue as
> mysqli[2], as we use SKIPIF to check that database contents are clean going
> into a test. The present solution in core is to check SKIPIF output for
> "nocache" [3,4] and allow individual tests to opt out of caching; however,
> I'm worried that won't be portable for third-party extensions, where we
> test with run-tests.php for each version of PHP that we support.
>
>
If the phpt file outputs "skip nocache" then that will skip without caching
on all versions, won't it?  In 8.1 because it has the explicit 'nocache'
provided, and in older versions because they don't cache anyway.

Am I missing something?

-Sara

Reply via email to