0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-18 12:51:51 +00:00
phpv8/Makefile.frag
C. Scott Ananian 20d038fae5 Ensure that json extension is enabled when running tests.
The `commonjs_modules.phpt` test requires `json_encode` in order to
complete successfully.
2013-10-01 17:58:24 -04:00

13 lines
461 B
Makefile

PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/json.so
testv8: all
$(PHP_EXECUTABLE) -n -d extension_dir=./modules -d extension=v8js.so test.php
debugv8: all
gdb --arg $(PHP_EXECUTABLE) -n -d extension_dir=./modules -d extension=v8js.so test.php
valgrindv8: all
USE_ZEND_ALLOC=0 valgrind --leak-check=full --show-reachable=yes --track-origins=yes $(PHP_EXECUTABLE) -n -d extension_dir=./modules -d extension=v8js.so test.php 2> valgrind.dump