From: Stig Bakken Date: Fri, 1 Mar 2002 08:57:07 +0000 (+0000) Subject: * use cli sapi to run tests X-Git-Tag: php-4.2.0RC1~229 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9f47fafeaafb9006ed2b7b0146080730cb1cdb8;p=php * use cli sapi to run tests --- diff --git a/build/rules.mk b/build/rules.mk index 10d44b071b..8790b45c76 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -53,11 +53,11 @@ distclean: distclean-recursive clean-x rm -f config.cache config.log config.status config_vars.mk libtool \ php_config.h stamp-h Makefile build-defs.h php4.spec libphp4.module -test: $(top_builddir)/php +test: $(top_builddir)/sapi/cli/php @if test "$(TESTS)" = ""; then \ - TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/php -C -q $(top_srcdir)/run-tests.php $(srcdir); \ + TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/sapi/cli/php $(top_srcdir)/run-tests.php $(srcdir); \ else \ - TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/php -C -q $(top_srcdir)/run-tests.php $(TESTS); \ + TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) $(top_builddir)/sapi/cli/php $(top_srcdir)/run-tests.php $(TESTS); \ fi include $(builddir)/.deps