mirror of
https://github.com/phpv8/v8js.git
synced 2024-09-08 00:25:19 +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))
|
||||
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
|
||||
|
@ -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');
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user