File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 11import pytest
22
33@pytest .mark .php_cli
4+ @pytest .mark .php_nts
45def test_configuration_is_effective (host ):
56 config = get_config (host )
67
78 assert u'memory_limit => -1 => -1' in config
89 assert u'opcache.enable_cli => On => On' in config
10+ assert u'opcache.jit => 1255 => 1255' in config
11+ assert u'opcache.jit_buffer_size => 128M => 128M' in config
12+
13+ @pytest .mark .php_dev
14+ @pytest .mark .php_zts
15+ def test_configuration_is_effective (host ):
16+ config = get_config (host )
17+
18+ assert u'memory_limit => -1 => -1' in config
19+ assert u'opcache.enable_cli => On => On' in config
20+ assert u'opcache.jit => disable => disable' in config
21+ assert u'opcache.jit_buffer_size => 128M => 128M' in config
922
1023def get_config (host ):
1124 return host .run ('php -i' ).stdout
You can’t perform that action at this time.
0 commit comments