0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-21 16:31:53 +00:00

load ext-dom for test, if available, refs #270

This commit is contained in:
Stefan Siegl 2017-03-12 10:09:59 +01:00
parent fbb40fdd6f
commit 397c5f0e09
2 changed files with 6 additions and 1 deletions

View File

@ -7,3 +7,8 @@ endif
ifneq (,$(realpath $(EXTENSION_DIR)/pthreads.so))
PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/pthreads.so
endif
# add dom extension, if available
ifneq (,$(realpath $(EXTENSION_DIR)/dom.so))
PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/dom.so
endif

View File

@ -3,7 +3,7 @@ Test V8::executeString() : DOM object passed from PHP
--SKIPIF--
<?php
if(!class_exists('DomDocument')) {
die('skip');
die('SKIP ext-dom required');
}
require_once(dirname(__FILE__) . '/skipif.inc');
?>