summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-29 22:18:40 +0000
committerMarcus Boerger <helly@php.net>2003-12-29 22:18:40 +0000
commita572d79e0a290a3064ce936860875c012cb14db4 (patch)
treead19cf9d7e28bf100a72ad69bac934a4fa521565 /run-tests.php
parent046859493e81511dc928b7036a9bb41226917edd (diff)
downloadphp-git-a572d79e0a290a3064ce936860875c012cb14db4.tar.gz
Fix data source
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index b1ace65c21..e7cca64cfe 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1112,7 +1112,7 @@ function get_summary($show_ext_summary)
global $exts_skipped, $exts_tested, $n_total, $sum_results, $percent_results, $end_time, $start_time, $failed_test_summary, $PHP_FAILED_TESTS;
$x_total = $n_total - $sum_results['SKIPPED'] - $sum_results['BORKED'];
- $x_warned = (100.0 * $sum_results['FAILED']) / $x_total;
+ $x_warned = (100.0 * $sum_results['WARNED']) / $x_total;
$x_failed = (100.0 * $sum_results['FAILED']) / $x_total;
$x_passed = (100.0 * $sum_results['PASSED']) / $x_total;