diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-08-05 11:35:17 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-08-05 11:38:47 +0200 |
| commit | 790b0b109ad269b7367e3720d056530a86fa7123 (patch) | |
| tree | bc87e59c7a4a1babaf845deb218e2f356ca5257f | |
| parent | 1ed9ebdea558a7ae265dcc460cedd2cbbaa48efc (diff) | |
| download | php-git-790b0b109ad269b7367e3720d056530a86fa7123.tar.gz | |
Fix handling of succeeding XFAIL tests
Due to a typo in commit e1151c9[1], succeeding XFAIL test without an
EXPECTF or EXPECTREGEX section have been reported reported as passed
instead of warned.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=e1151c9549cf5a7235c1609019f79bbb1bbcdbea>
| -rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index f467b74b25..2104ab2a64 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2657,7 +2657,7 @@ COMMAND $cmd if (isset($section_text['XFAIL'])) { $warn = true; $info = " (warn: XFAIL section but test passes)"; - } if (isset($section_text['XLEAK'])) { + } elseif (isset($section_text['XLEAK'])) { $warn = true; $info = " (warn: XLEAK section but test passes)"; } else { |
