mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 04:01:51 +00:00
load ext-dom for test, if available, refs #270
This commit is contained in:
parent
fbb40fdd6f
commit
397c5f0e09
@ -7,3 +7,8 @@ endif
|
|||||||
ifneq (,$(realpath $(EXTENSION_DIR)/pthreads.so))
|
ifneq (,$(realpath $(EXTENSION_DIR)/pthreads.so))
|
||||||
PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/pthreads.so
|
PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/pthreads.so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# add dom extension, if available
|
||||||
|
ifneq (,$(realpath $(EXTENSION_DIR)/dom.so))
|
||||||
|
PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/dom.so
|
||||||
|
endif
|
||||||
|
@ -3,7 +3,7 @@ Test V8::executeString() : DOM object passed from PHP
|
|||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if(!class_exists('DomDocument')) {
|
if(!class_exists('DomDocument')) {
|
||||||
die('skip');
|
die('SKIP ext-dom required');
|
||||||
}
|
}
|
||||||
require_once(dirname(__FILE__) . '/skipif.inc');
|
require_once(dirname(__FILE__) . '/skipif.inc');
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user