From 31de61a54aac99d83077492bc2fe36dc299bc810 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Sun, 11 May 2025 18:20:51 +0200 Subject: [PATCH] Correct JIT tests Due to GitHub Auto Merge merging PR's when they are not passing, a broken PR was merged. This PR is to resolve that issue --- test/container/test_php_config.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/container/test_php_config.py b/test/container/test_php_config.py index 1d2d20e7..4e8274a5 100644 --- a/test/container/test_php_config.py +++ b/test/container/test_php_config.py @@ -1,11 +1,24 @@ import pytest @pytest.mark.php_cli +@pytest.mark.php_nts def test_configuration_is_effective(host): config = get_config(host) assert u'memory_limit => -1 => -1' in config assert u'opcache.enable_cli => On => On' in config + assert u'opcache.jit => 1255 => 1255' in config + assert u'opcache.jit_buffer_size => 128M => 128M' in config + +@pytest.mark.php_dev +@pytest.mark.php_zts +def test_configuration_is_effective(host): + config = get_config(host) + + assert u'memory_limit => -1 => -1' in config + assert u'opcache.enable_cli => On => On' in config + assert u'opcache.jit => disable => disable' in config + assert u'opcache.jit_buffer_size => 128M => 128M' in config def get_config(host): return host.run('php -i').stdout