Commit: f03a91226e525ab48aa9049eaa2d8202ac4113d1 Author: Xinchen Hui <larue...@php.net> Sun, 25 Nov 2012 11:45:36 +0800 Parents: f50f703571ec936f052db3c68f9aca126123d82f Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f03a91226e525ab48aa9049eaa2d8202ac4113d1 Log: let make test report the run-test result (patch by reeze....@gmail.com) Changed paths: M Makefile.global Diff: diff --git a/Makefile.global b/Makefile.global index eaf651e..5118de8 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 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php