Skip to content

Commit

Permalink
load ext-dom for test, if available, refs #270
Browse files Browse the repository at this point in the history
  • Loading branch information
stesie committed Mar 12, 2017
1 parent fbb40fd commit 397c5f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Makefile.frag
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/object_dom.phpt
Expand Up @@ -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');
?>
Expand Down

0 comments on commit 397c5f0

Please sign in to comment.