diff options
author | Stig Bakken <ssb@php.net> | 2000-12-07 08:06:41 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2000-12-07 08:06:41 +0000 |
commit | 52d3777f503c8fb5f309002f0c04f890f6a25a79 (patch) | |
tree | c1392d92f4f3b085a0221468a4b8d7b5fcf4ae1d /build | |
parent | eefe6739eedc3ba667c3e520d19752069849852d (diff) | |
download | php-git-52d3777f503c8fb5f309002f0c04f890f6a25a79.tar.gz |
* make it possible to override the start directory for "make test"
Diffstat (limited to 'build')
-rw-r--r-- | build/rules.mk | 6 |
1 files changed, 5 insertions, 1 deletions
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 |