From 11c946e594a218143a6dafb302c70f2adade96d7 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 25 Nov 2012 11:46:35 +0800 Subject: [PATCH] XFAIL test should not be considered as failed --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index 8527df8d4bd..43470d0d8ad 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); }