diff options
author | Xinchen Hui <laruence@php.net> | 2012-11-25 11:45:36 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2012-11-25 12:03:54 +0800 |
commit | 4d804aa52d8c74ddcbdb07694b75b38c5eba8004 (patch) | |
tree | 4456690e42c30bd08817f6b337501783d7c65c92 /Makefile.global | |
parent | 57204ae6d9922a0edc1f3c751541dada625fdf67 (diff) | |
download | php-git-4d804aa52d8c74ddcbdb07694b75b38c5eba8004.tar.gz |
let make test report the run-test result
Diffstat (limited to 'Makefile.global')
-rw-r--r-- | Makefile.global | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.global b/Makefile.global index eaf651e8e2..5118de83fe 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 |