]> granicus.if.org Git - php/commitdiff
Run run-tests.php in srcdir and add top_builddir/pear to the include
authorSascha Schumann <sas@php.net>
Sun, 24 Dec 2000 16:03:16 +0000 (16:03 +0000)
committerSascha Schumann <sas@php.net>
Sun, 24 Dec 2000 16:03:16 +0000 (16:03 +0000)
path (does not seem to work though yet.  The include path does not
seem to get changed at all).

build/rules.mk

index 50e2b4df0e5f09e7fde4e7e05b0ec60d366fa874..3a09d411b16ace00c7ffd98a13eb214ab03c4e26 100644 (file)
@@ -55,9 +55,9 @@ distclean: distclean-recursive clean-x
 
 test: $(top_builddir)/php
        @if test "$(TESTS)" = ""; then \
-               TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/php -d include_path=".:$(top_srcdir)/pear:$(PEAR_INSTALLDIR)" -q $(top_srcdir)/run-tests.php $(top_srcdir); \
+               TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/php -d "include_path=.:$(top_srcdir)/pear:$(top_builddir)/pear:$(PEAR_INSTALLDIR)" -q $(top_srcdir)/run-tests.php $(srcdir); \
        else \
-               TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/php -d include_path=".:$(top_srcdir)/pear:$(PEAR_INSTALLDIR)" -q $(top_srcdir)/run-tests.php $(TESTS); \
+               TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/php -d include_path=".:$(top_srcdir)/pear:$(top_builddir)/pear:$(PEAR_INSTALLDIR)" -q $(top_srcdir)/run-tests.php $(TESTS); \
        fi
 
 include $(builddir)/.deps