com php-src: XFAIL test should not be considered as failed: run-tests.php
| From: | Xinchen Hui | Date: | Sun, 25 Nov 2012 03:46:35 +0000 |
| Subject: | com php-src: XFAIL test should not be considered as failed: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70589@lists.php.net to get a copy of this message | ||
Commit: 20d7ef43f751f5044909257d0baef963c8ea451a
Author: Xinchen Hui <laruence@php.net> Sun, 25 Nov 2012 11:46:35 +0800
Parents: f03a91226e525ab48aa9049eaa2d8202ac4113d1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=20d7ef43f751f5044909257d0baef963c8ea451a
Log:
XFAIL test should not be considered as failed
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index 8527df8..43470d0 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -821,7 +821,7 @@ HELP;
junit_save_xml();
- if (getenv('REPORT_EXIT_STATUS') == 1 and preg_match('/FAILED(?: |$)/',
implode(' ', $test_results))) {
+ if (getenv('REPORT_EXIT_STATUS') == 1 and preg_match('/ FAILED(?: |$)/',
implode(' ', $test_results))) {
exit(1);
}