From f4edb19f21c4777a95a5a8705d0e5f602103eb44 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 14 Mar 2024 01:17:44 +0900 Subject: perf: disable assertions --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.sh') diff --git a/test.sh b/test.sh index 81720c3..a87065a 100644 --- a/test.sh +++ b/test.sh @@ -1,4 +1,4 @@ -result=$(php -d memory_limit=256M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php 2>/dev/null) +result=$(php -d zend.assertions=-1 -d memory_limit=256M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php 2>/dev/null) if [[ "$result" == 'Hello, World!' ]]; then echo "Test passed" exit 0 -- cgit v1.2.3-70-g09d2