Commit: 4d804aa52d8c74ddcbdb07694b75b38c5eba8004 Author: Xinchen Hui <larue...@php.net> Sun, 25 Nov 2012 11:45:36 +0800 Parents: 57204ae6d9922a0edc1f3c751541dada625fdf67 Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4d804aa52d8c74ddcbdb07694b75b38c5eba8004 Log: let make test report the run-test result 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