]> granicus.if.org Git - php/commitdiff
* PEAR: don't require "make install" before "make test"
authorStig Bakken <ssb@php.net>
Wed, 13 Dec 2000 14:01:39 +0000 (14:01 +0000)
committerStig Bakken <ssb@php.net>
Wed, 13 Dec 2000 14:01:39 +0000 (14:01 +0000)
build/rules.mk

index 1b46df9b02d51f0836cc03f99e30c8e7a7d02d44..e0d77a5968b491c86a535e1a909b1e9e9fdcbf86 100644 (file)
@@ -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