Skip to content

Test ext/zend_test/tests/optimizer_register_pass.phpt fails when opcache is disabled #18551

Open
@Girgias

Description

@Girgias

Description

The following command:

make test TEST_PHP_ARGS="--asan -q -j22 -d opcache.jit_buffer_size=16M -d opcache.jit=disable -d opcache.enable=0 -d opcache.enable_cli=1 -d opcache.file_update_protection=0 -d opcache.protect_memory=1 -x" TESTS="ext/zend_test"

Resulted in this output:

FAILED TEST SUMMARY
---------------------------------------------------------------------
Optimizer: Pass Registration [ext/zend_test/tests/optimizer_register_pass.phpt]

But I expected this output instead:

nothing

This is probably missing some sort of condition in SKIPIF.

Should be easy but currently doing something else and don't want to forget about it.

PHP Version

master

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions