summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-01-16 09:02:55 +0100
committerOndřej Surý <ondrej@sury.org>2013-01-16 09:02:55 +0100
commit8572aeb0703107705fc7dde35961cd6a5f89c0c8 (patch)
tree833d2a593591ac362a7dfe90971bef61d155bfaa /Makefile.global
parent0b82e05fe264306004119e30119e665365331e17 (diff)
downloadphp-8572aeb0703107705fc7dde35961cd6a5f89c0c8.tar.gz
Imported Upstream version 5.5.0~alpha3upstream/5.5.0_alpha3
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.global b/Makefile.global
index eaf651e8e..5118de83f 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -102,7 +102,9 @@ test: all
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(PHP_EXECUTABLE) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
+ TEST_RESULT_EXIT_CODE=$$?; \
rm $(top_builddir)/tmp-php.ini; \
+ exit $$TEST_RESULT_EXIT_CODE; \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi