diff options
author | Stig Bakken <ssb@php.net> | 2002-03-01 08:57:07 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2002-03-01 08:57:07 +0000 |
commit | d9f47fafeaafb9006ed2b7b0146080730cb1cdb8 (patch) | |
tree | e27e437a67612f3a74ccc09b35861766ff222c6e /build | |
parent | 2f512dbd18e61837b345630f56fdad4c634b9c71 (diff) | |
download | php-git-d9f47fafeaafb9006ed2b7b0146080730cb1cdb8.tar.gz |
* use cli sapi to run tests
Diffstat (limited to 'build')
-rw-r--r-- | build/rules.mk | 6 |
1 files 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 |