Index: trunk/run-tests.php =================================================================== --- trunk/run-tests.php (revision 308241) +++ trunk/run-tests.php (working copy) @@ -1935,6 +1935,7 @@ if (!$passed) { if (isset($section_text['XFAIL'])) { $restype[] = 'XFAIL'; + $info = ' XFAIL REASON: ' . $section_text['XFAIL']; } else { $restype[] = 'FAIL'; } Index: branches/PHP_5_3/run-tests.php =================================================================== --- branches/PHP_5_3/run-tests.php (revision 308240) +++ branches/PHP_5_3/run-tests.php (working copy) @@ -1935,6 +1935,7 @@ if (!$passed) { if (isset($section_text['XFAIL'])) { $restype[] = 'XFAIL'; + $info = ' XFAIL REASON: ' . $section_text['XFAIL']; } else { $restype[] = 'FAIL'; } Index: branches/PHP_5_2/run-tests.php =================================================================== --- branches/PHP_5_2/run-tests.php (revision 308244) +++ branches/PHP_5_2/run-tests.php (working copy) @@ -1932,6 +1932,7 @@ if (!$passed) { if (isset($section_text['XFAIL'])) { $restype[] = 'XFAIL'; + $info = ' XFAIL REASON: ' . $section_text['XFAIL']; } else { $restype[] = 'FAIL'; }