From 397c5f0e090c1fc4d066b359bc897c0df70f04c0 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Sun, 12 Mar 2017 10:09:59 +0100 Subject: [PATCH] load ext-dom for test, if available, refs #270 --- Makefile.frag | 5 +++++ tests/object_dom.phpt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.frag b/Makefile.frag index 873fc0f..f9e2fff 100644 --- a/Makefile.frag +++ b/Makefile.frag @@ -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 diff --git a/tests/object_dom.phpt b/tests/object_dom.phpt index 958016e..8d56d8c 100644 --- a/tests/object_dom.phpt +++ b/tests/object_dom.phpt @@ -3,7 +3,7 @@ Test V8::executeString() : DOM object passed from PHP --SKIPIF--