# [PATCH] have "make test" with REPORT_EXIT_STATUS

- Thread: https://externals.io/message/13722
- Original archive: https://news-web.php.net/php.internals/13722
- Started by Joe Orton on 2004-11-04T13:40:33+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13722 — Joe Orton — 2004-11-04T13:40:33+00:00

URL: https://externals.io/message/13722#13722

Setting $REPORT_EXIT_STATUS no longer makes "make test" fail if any
tests fail; is that deliberate or can it be fixed?

Index: Makefile.global
===================================================================
RCS file: /repository/php-src/Makefile.global,v
retrieving revision 1.51
diff -u -r1.51 Makefile.global
--- Makefile.global	4 Dec 2003 15:57:55 -0000	1.51
+++ Makefile.global	4 Nov 2004 13:39:51 -0000
@@ -51,7 +51,7 @@
 install-su: install-pear install-tester
 
 test: 
-	-@if test -x $(SAPI_CLI_PATH) && test ! -z $(SAPI_CLI_PATH); then \
+	@if test -x $(SAPI_CLI_PATH) && test ! -z $(SAPI_CLI_PATH); then \
 		TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
 		TEST_PHP_SRCDIR=$(top_srcdir) \
 		CC="$(CC)" \
