From d9f47fafeaafb9006ed2b7b0146080730cb1cdb8 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Fri, 1 Mar 2002 08:57:07 +0000 Subject: [PATCH] * use cli sapi to run tests --- build/rules.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.40.0