diff --git a/scripts/testfestsource/src/displayresults.php b/scripts/testfestsource/src/displayresults.php
index b3e6c1c..e427433 100755
--- a/scripts/testfestsource/src/displayresults.php
+++ b/scripts/testfestsource/src/displayresults.php
@@ -61,6 +61,7 @@
//get the list of committed files
$testNames = file($publishDir . "/commits");
+$totalCommittedTests = count($testNames);
$committedTests = array();
foreach ($testNames as $line) {
@@ -72,13 +73,14 @@
$_SESSION['filebase'] = $filebase;
$_SESSION['relat'] = $relat;
-$summary = buildSummary($relat);
+$summary = buildSummary($relat, $totalCommittedTests);
echo $summary;
+
$out = buildSummaryTable($states, $relat, $filebase, $committedTests);
echo $out;
-function buildSummary($relat) {
+function buildSummary($relat, $totalCommittedTests) {
$groups = array();
foreach($relat as $testname) {
preg_match("/.*_(\w+)$/", $testname, $matches);
@@ -95,7 +97,9 @@ function buildSummary($relat) {
$totalTests += $numberOfTests;
$htmlString .= "Tests from group $groupName = $numberOfTests
";
}
-$htmlString .= "
Total tests contributed = $totalTests
";
+$htmlString .= "
Total tests contributed = $totalTests
";
+
+$htmlString .= "
Total tests moved to PHP CVS = $totalCommittedTests
";
return $htmlString;
}