summaryrefslogtreecommitdiff
path: root/build/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/rules.mk')
-rw-r--r--build/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rules.mk b/build/rules.mk
index 1b46df9b02..e0d77a5968 100644
--- a/build/rules.mk
+++ b/build/rules.mk
@@ -55,9 +55,9 @@ distclean: distclean-recursive clean-x
test: $(top_builddir)/php
@if test "$(TESTS)" = ""; then \
- $(top_builddir)/php -q $(top_srcdir)/run-tests.php `pwd`; \
+ $(top_builddir)/php -d include_path=".:$(top_srcdir)/pear:$(PEAR_INSTALLDIR)" -q $(top_srcdir)/run-tests.php `pwd`; \
else \
- $(top_builddir)/php -q $(top_srcdir)/run-tests.php $(TESTS); \
+ $(top_builddir)/php -d include_path=".:$(top_srcdir)/pear:$(PEAR_INSTALLDIR)" -q $(top_srcdir)/run-tests.php $(TESTS); \
fi
include $(builddir)/.deps