Skip to content

Commit f03a912

Browse files
committed
let make test report the run-test result
(patch by [email protected])
1 parent f50f703 commit f03a912

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile.global

+2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ test: all
102102
TEST_PHP_SRCDIR=$(top_srcdir) \
103103
CC="$(CC)" \
104104
$(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); \
105+
TEST_RESULT_EXIT_CODE=$$?; \
105106
rm $(top_builddir)/tmp-php.ini; \
107+
exit $$TEST_RESULT_EXIT_CODE; \
106108
else \
107109
echo "ERROR: Cannot run tests without CLI sapi."; \
108110
fi

0 commit comments

Comments
 (0)