Browse Source

- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL)

PHP-5.3.15
Felipe Pena 14 years ago
parent
commit
75d8af715c
  1. 4
      run-tests.php

4
run-tests.php

@ -2089,8 +2089,10 @@ $output
if (isset($old_php)) {
$php = $old_php;
}
$diff = empty($diff) ? '' : "<![CDATA[\n " . preg_replace('/\e/', '<esc>', $diff) . "\n]]>";
junit_mark_test_as($restype, str_replace($cwd . '/', '', $tested_file), $tested, null, $info, "<![CDATA[\n " . preg_replace('/\e/', '<esc>', $diff) . "\n]]>");
junit_mark_test_as($restype, str_replace($cwd . '/', '', $tested_file), $tested, null, $info, $diff);
return $restype[0] . 'ED';
}

Loading…
Cancel
Save