mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-08 14:48:40 +00:00
16 lines
566 B
Makefile
16 lines
566 B
Makefile
# add json extension, if needed (ie, for PHP >= 5.5)
|
|
ifneq (,$(realpath $(EXTENSION_DIR)/json.so))
|
|
PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/json.so
|
|
endif
|
|
|
|
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
|
|
|
|
|