Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2014-08-07 23:51:08 -0400
committerDavid Williams2014-08-07 23:51:08 -0400
commit44ac58d146dce347e9e9ab133bc8714f1764807a (patch)
treebcb2f4c885a114a67fec3eb9849dfc66792e1314
parent9b01b87801a2c44589607472163d553e94ac2913 (diff)
downloadeclipse.platform.releng.aggregator-44ac58d146dce347e9e9ab133bc8714f1764807a.tar.gz
eclipse.platform.releng.aggregator-44ac58d146dce347e9e9ab133bc8714f1764807a.tar.xz
eclipse.platform.releng.aggregator-44ac58d146dce347e9e9ab133bc8714f1764807a.zip
[releng] corrections and simplification of initial "related links" (test
results) section discoverd when using "overrideTestColor" for M1.
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.php.template7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.php.template b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.php.template
index c823277b..fe114e90 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.php.template
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/templateFiles/index.php.template
@@ -248,8 +248,11 @@ relating to its results and unit tests.
}
echo "<li>View the <a style=\"color:${linkColor};text-decoration:none\" title=\"Link to logs and test results.\" href=\"testResults.php\">logs and test results</a> for the current build.</li>\n";
}
- // TODO: should this be if not equal to -2?
- if ($boxes > -1) {
+ if ($boxes < 0 ) {
+ $boxesDisplay = 0;
+ } else {
+ $boxesDisplay = $boxes;
+
echo "<ul>\n";
echo "<li>".$boxes." of ".count($expectedTestConfigs)." test configurations are complete.</li>\n";
foreach ($expectedTestConfigs as $config) {

Back to the top