From: Stig Bakken Date: Thu, 7 Dec 2000 08:06:41 +0000 (+0000) Subject: * make it possible to override the start directory for "make test" X-Git-Tag: php-4.0.5RC1~986 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52d3777f503c8fb5f309002f0c04f890f6a25a79;p=php * make it possible to override the start directory for "make test" --- diff --git a/build/rules.mk b/build/rules.mk index 8459f6c0e6..1b46df9b02 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -54,7 +54,11 @@ distclean: distclean-recursive clean-x php_config.h stamp-h Makefile build-defs.h php4.spec libphp4.module test: $(top_builddir)/php - @$(top_builddir)/php -q $(top_srcdir)/run-tests.php `pwd` + @if test "$(TESTS)" = ""; then \ + $(top_builddir)/php -q $(top_srcdir)/run-tests.php `pwd`; \ + else \ + $(top_builddir)/php -q $(top_srcdir)/run-tests.php $(TESTS); \ + fi include $(builddir)/.deps