com php-src: let make test report the run-test result: Makefile.global

From: Date: Fri, 18 Jul 2014 22:33:59 +0000
Subject: com php-src: let make test report the run-test result: Makefile.global
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79642@lists.php.net to get a copy of this message
Commit: f3230e35221f5d440480de3871416f8d000991df Author: Xinchen Hui <laruence@php.net> Sun, 25 Nov 2012 11:45:36 +0800 Committer: Stanislav Malyshev <stas@php.net> Fri, 18 Jul 2014 15:33:59 -0700 Parents: 3c328f09840c58698cedd6bbd30bdc8a24f5b41f Branches: PHP-5.3 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f3230e35221f5d440480de3871416f8d000991df Log: let make test report the run-test result Changed paths: M Makefile.global Diff: diff --git a/Makefile.global b/Makefile.global index 8dad0e4..3a5b1c2 100644 --- a/Makefile.global +++ b/Makefile.global @@ -98,7 +98,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

« previous php.cvs (#79642) next »